Rev 4377: Change insert_from_broken_repo into an expectedFailure. in http://bazaar.launchpad.net/~jameinel/bzr/1.15-pack-source
John Arbash Meinel
john at arbash-meinel.com
Thu Jun 18 19:00:21 BST 2009
At http://bazaar.launchpad.net/~jameinel/bzr/1.15-pack-source
------------------------------------------------------------
revno: 4377
revision-id: john at arbash-meinel.com-20090618180001-6f8rq6a78e8ow78c
parent: john at arbash-meinel.com-20090617190825-ktfk82li57rf2im6
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 1.15-pack-source
timestamp: Thu 2009-06-18 13:00:01 -0500
message:
Change insert_from_broken_repo into an expectedFailure.
This has to do with bug #389141.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_repository.py'
--- a/bzrlib/tests/test_repository.py 2009-06-17 17:57:15 +0000
+++ b/bzrlib/tests/test_repository.py 2009-06-18 18:00:01 +0000
@@ -969,6 +969,12 @@
"""
broken_repo = self.make_broken_repository()
empty_repo = self.make_repository('empty-repo')
+ # See bug https://bugs.launchpad.net/bzr/+bug/389141 for information
+ # about why this was turned into expectFailure
+ self.expectFailure('new Stream fetch fills in missing compression'
+ ' parents (bug #389141)',
+ self.assertRaises, (errors.RevisionNotPresent, errors.BzrCheckError),
+ empty_repo.fetch, broken_repo)
self.assertRaises((errors.RevisionNotPresent, errors.BzrCheckError),
empty_repo.fetch, broken_repo)
More information about the bazaar-commits
mailing list