Private GIT

Skip to content
Snippets Groups Projects
Commit 901d1114 authored by Gaëtan Muller's avatar Gaëtan Muller
Browse files

Merge pull request #198 from alisonatwork/ali/fix-all_tests-on-windows

fix all_tests directory separator for windows
parents 1794e2f9 57120263
Branches
Tags
No related merge requests found
...@@ -54,7 +54,7 @@ class AllTests(unittest.TestCase): ...@@ -54,7 +54,7 @@ class AllTests(unittest.TestCase):
def _get_module_strings(self): def _get_module_strings(self):
modules = [] modules = []
for file_string in self.test_file_strings: for file_string in self.test_file_strings:
modules.append(file_string[len(tests_dir):len(file_string) - 3].replace('/', '.')) modules.append(file_string[len(tests_dir):len(file_string) - 3].replace(os.sep, '.'))
return modules return modules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment