diff options
Diffstat (limited to 'tests/test_files.py')
-rw-r--r-- | tests/test_files.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/test_files.py b/tests/test_files.py index ae56e728..85c7048b 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -5,13 +5,22 @@ import os.path from coverage.files import ( FileLocator, TreeMatcher, FnmatchMatcher, ModuleMatcher, PathAliases, - find_python_files, abs_file + find_python_files, abs_file, actual_path ) from coverage.misc import CoverageException +from coverage import env from tests.coveragetest import CoverageTest +if env.WINDOWS: + class IncompleteWindowsTest(CoverageTest): + run_in_temp_dir = False + + def test_actual_path(self): + self.assertEquals(actual_path(r'c:\Windows'), actual_path(r'C:\wINDOWS')) + + class FileLocatorTest(CoverageTest): """Tests of `FileLocator`.""" |