Rev 4635: Fix an overly sensitive test. in http://bazaar.launchpad.net/~lifeless/bzr/bug-398668

Robert Collins robertc at robertcollins.net
Mon Aug 17 08:54:42 BST 2009


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

------------------------------------------------------------
revno: 4635
revision-id: robertc at robertcollins.net-20090817075434-6nizpmuqrbpz6veo
parent: robertc at robertcollins.net-20090817074649-p0nfqwdtlvsu5ace
committer: Robert Collins <robertc at robertcollins.net>
branch nick: bug-398668
timestamp: Mon 2009-08-17 17:54:34 +1000
message:
  Fix an overly sensitive test.
=== modified file 'bzrlib/tests/test_foreign.py'
--- a/bzrlib/tests/test_foreign.py	2009-08-14 04:30:32 +0000
+++ b/bzrlib/tests/test_foreign.py	2009-08-17 07:54:34 +0000
@@ -320,7 +320,7 @@
         foreign.update_workingtree_fileids(wt, target_basis)
         wt.lock_read()
         try:
-            self.assertEquals([root_id, "bla-b"], list(wt.inventory))
+            self.assertEquals(set([root_id, "bla-b"]), set(wt.inventory))
         finally:
             wt.unlock()
 




More information about the bazaar-commits mailing list