Kaydet (Commit) d53d085a authored tarafından Michael Foord's avatar Michael Foord

Fix unittest discovery tests for Windows. Issue 6199

üst 3b5d5fb1
......@@ -3537,7 +3537,9 @@ class TestDiscovery(TestCase):
# We should have loaded tests from the test_directory package by calling load_tests
# and directly from the test_directory2 package
self.assertEqual(suite, ['load_tests', '/foo/test_directory2 module tests'])
self.assertEqual(suite,
['load_tests',
os.path.join('/foo', 'test_directory2') + ' module tests'])
self.assertEqual(Module.paths, [os.path.join('/foo', 'test_directory'),
os.path.join('/foo', 'test_directory2')])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment