Merge lp:~vila/bzr-builddeb/test-failures into lp:bzr-builddeb
Proposed by
Vincent Ladeuil
Status: | Merged |
---|---|
Merged at revision: | 509 |
Proposed branch: | lp:~vila/bzr-builddeb/test-failures |
Merge into: | lp:bzr-builddeb |
Diff against target: |
66 lines (+23/-0) 2 files modified
tests/test_merge_upstream.py (+22/-0) tests/test_upstream.py (+1/-0) |
To merge this branch: | bzr merge lp:~vila/bzr-builddeb/test-failures |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | Approve | ||
Review via email: mp+48484@code.launchpad.net |
Description of the change
This fixes some test failures:
- test_upstream.
- some tests in test_merge_
To post a comment you must log in.
On Thu, 2011-02-03 at 14:49 +0000, Vincent Ladeuil wrote: hackers (bzr-builddeb- hackers) /code.launchpad .net/~vila/ bzr-builddeb/ test-failures/ +merge/ 48484 test_fetch_ tarball_ repack requires a non-empty zip file (dunno how recent this is, but the test doesn't really care and I don't think we need to support empty zip files) upstream. TestUpstreamVer sionAddRevision requires a bzr-svn installed, mark them as such. test_merge_ upstream. py' merge_upstream. py 2011-01-29 03:29:44 +0000 merge_upstream. py 2011-02-03 14:49:08 +0000 bundle. changelog import Version nsport version_ add_revision ilableFeature( 'bzrlib. plugins. svn')
> Vincent Ladeuil has proposed merging lp:~vila/bzr-builddeb/test-failures into lp:bzr-builddeb.
>
> Requested reviews:
> Bzr-builddeb-
>
> For more details, see:
> https:/
>
> This fixes some test failures:
>
> - test_upstream.
>
> - some tests in test_merge_
> differences between files attachment (review-diff.txt)
> === modified file 'tests/
> --- tests/test_
> +++ tests/test_
> @@ -24,6 +24,7 @@
> # Prior to 0.1.15 the debian module was called debian_bundle
> from debian_
>
> +from bzrlib import tests
> from bzrlib.revision import Revision
> from bzrlib.tests import TestCase, TestCaseWithTra
>
> @@ -35,6 +36,22 @@
> upstream_
> )
>
> +# Unless bug #712474 is fixed and available in the minimum bzrlib required, we
> +# can't use:
> +# svn_plugin = tests.ModuleAva
Can we perhaps check if the minimum bzrlib available is >= 2.3 final and
use it in that case. It'd also just be nice to mention when bug 712474
was fixed, so that it's easy to clean up this workaround later.
Otherwise:
review approve
Cheers,
Jelmer