Rev 3908: Fix overzealous test. No need to finish the inventory twice. in file:///home/vila/src/bzr/experimental/brisbane-core/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Tue Mar 31 08:34:20 BST 2009
At file:///home/vila/src/bzr/experimental/brisbane-core/
------------------------------------------------------------
revno: 3908
revision-id: v.ladeuil+lp at free.fr-20090331073419-89g1md60o2slg5t4
parent: john at arbash-meinel.com-20090330213530-xqa4co3sgwzl86mg
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: brisbane-core
timestamp: Tue 2009-03-31 09:34:19 +0200
message:
Fix overzealous test. No need to finish the inventory twice.
* bzrlib/tests/per_repository/test_commit_builder.py:
(TestCommitBuilder.test_commit_with_revision_id_record_iter_changes):
Delete one call to finish_inventory(), one is enough, two is too
much.
-------------- next part --------------
=== modified file 'bzrlib/tests/per_repository/test_commit_builder.py'
--- a/bzrlib/tests/per_repository/test_commit_builder.py 2009-03-25 07:54:11 +0000
+++ b/bzrlib/tests/per_repository/test_commit_builder.py 2009-03-31 07:34:19 +0000
@@ -185,7 +185,6 @@
except:
builder.abort()
raise
- builder.finish_inventory()
self.assertEqual(revision_id, builder.commit('foo bar'))
finally:
tree.unlock()
More information about the bazaar-commits
mailing list