Rev 4638: Use a valid for storage inventory in test_remote's new inventory streaming test. in http://bazaar.launchpad.net/~lifeless/bzr/bug-398668

Robert Collins robertc at robertcollins.net
Mon Aug 17 22:24:39 BST 2009


At http://bazaar.launchpad.net/~lifeless/bzr/bug-398668

------------------------------------------------------------
revno: 4638
revision-id: robertc at robertcollins.net-20090817212424-2hnzif3gsmpg063f
parent: robertc at robertcollins.net-20090817211540-eh0k82dele8u4b7i
committer: Robert Collins <robertc at robertcollins.net>
branch nick: bug-398668
timestamp: Tue 2009-08-18 07:24:24 +1000
message:
  Use a valid for storage inventory in test_remote's new inventory streaming test.
=== modified file 'bzrlib/tests/test_remote.py'
--- a/bzrlib/tests/test_remote.py	2009-08-17 03:47:03 +0000
+++ b/bzrlib/tests/test_remote.py	2009-08-17 21:24:24 +0000
@@ -2355,6 +2355,7 @@
         """
         # Define a stream using generators so that it isn't rewindable.
         inv = inventory.Inventory(revision_id='rev1')
+        inv.root.revision = 'rev1'
         def stream_with_inv_delta():
             yield ('inventories', inventories_substream())
             yield ('inventory-deltas', inventory_delta_substream())




More information about the bazaar-commits mailing list