Rev 33: Ensure that paths that aren't versioned yet, and paths that aren't tracked in lp:~jameinel/+junk/file_locking

John Arbash Meinel john at arbash-meinel.com
Tue Sep 22 22:24:45 BST 2009


At lp:~jameinel/+junk/file_locking

------------------------------------------------------------
revno: 33
revision-id: john at arbash-meinel.com-20090922212435-nw190q2b1skjo4pz
parent: john at arbash-meinel.com-20090922212258-es8a6g1v738rse21
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: file_locking
timestamp: Tue 2009-09-22 16:24:35 -0500
message:
  Ensure that paths that aren't versioned yet, and paths that aren't tracked
  are properly reported.
-------------- next part --------------
=== modified file 'tests/test_file_lock.py'
--- a/tests/test_file_lock.py	2009-09-22 21:22:58 +0000
+++ b/tests/test_file_lock.py	2009-09-22 21:24:35 +0000
@@ -356,8 +356,11 @@
         self.assertEqual(['adir', 'afile'],
                          sorted(manager._get_tracked_paths()))
         self.assertEqual({'afile': 'afile', 'adir': 'adir',
-                          'adir/subfile': 'adir'},
-                         manager.tracked_at(['afile', 'adir', 'adir/subfile']))
+                          'adir/subfile': 'adir', 'adir/not-versioned': 'adir',
+                          'not-tracked': None
+                         }, manager.tracked_at(
+                            ['afile', 'adir', 'adir/subfile',
+                            'adir/not-versioned', 'not-tracked']))
 
 
 class TestFileLockStore(tests.TestCaseWithMemoryTransport):



More information about the bazaar-commits mailing list