diff options
Diffstat (limited to 'tests/test_process.py')
-rw-r--r-- | tests/test_process.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 04a8a2d5..58915b87 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -1332,10 +1332,11 @@ class UnicodeFilePathsTest(CoverageTest): # The HTML report uses ascii-encoded HTML entities. out = self.run_command("coverage html") assert out == "" - self.assert_exists("htmlcov/\xe2_accented_py.html") + self.assert_exists("htmlcov/d_5786906b6f0ffeb4_accented_py.html") with open("htmlcov/index.html") as indexf: index = indexf.read() - assert '<a href="â_accented_py.html">â%saccented.py</a>' % os.sep in index + expected = '<a href="d_5786906b6f0ffeb4_accented_py.html">â%saccented.py</a>' + assert expected % os.sep in index # The XML report is always UTF8-encoded. out = self.run_command("coverage xml") |