Rev 3700: Update the osutils test to find the objects in the right locations. in http://bzr.arbash-meinel.com/branches/bzr/1.8-dev/readdir
John Arbash Meinel
john at arbash-meinel.com
Tue Sep 9 17:18:35 BST 2008
At http://bzr.arbash-meinel.com/branches/bzr/1.8-dev/readdir
------------------------------------------------------------
revno: 3700
revision-id: john at arbash-meinel.com-20080909161809-z0so92b8wlgy2tx4
parent: john at arbash-meinel.com-20080909161541-ycmcffvb2a9k7glt
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: readdir
timestamp: Tue 2008-09-09 11:18:09 -0500
message:
Update the osutils test to find the objects in the right locations.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_osutils.py'
--- a/bzrlib/tests/test_osutils.py 2008-09-09 01:53:03 +0000
+++ b/bzrlib/tests/test_osutils.py 2008-09-09 16:18:09 +0000
@@ -1128,12 +1128,12 @@
self._filter_out_stat(result)
self.assertEqual(expected_dirblocks, result)
- def test__walkdirs_utf_win32_find_file(self):
+ def test__walkdirs_utf8_win32readdir(self):
self.requireFeature(Win32ReadDirFeature)
self.requireFeature(tests.UnicodeFilenameFeature)
from bzrlib._walkdirs_win32 import Win32ReadDir
self._save_platform_info()
- osutils._selected_dir_reader = osutils.Win32ReadDir()
+ osutils._selected_dir_reader = Win32ReadDir()
name0u = u'0file-\xb6'
name1u = u'1dir-\u062c\u0648'
name2u = u'2file-\u0633'
@@ -1170,7 +1170,7 @@
]
),
]
- result = list(_walkdirs_utf8(u'.'))
+ result = list(osutils._walkdirs_utf8(u'.'))
self._filter_out_stat(result)
self.assertEqual(expected_dirblocks, result)
More information about the bazaar-commits
mailing list