From d9b1cc04cde71e2f830dfa91f9a8fa3bcee09b34 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 3 Sep 2011 15:43:51 -0400 Subject: Fix the [paths] feature to actually work for reporting. --- test/test_process.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/test_process.py') diff --git a/test/test_process.py b/test/test_process.py index ed9e89f3..4cf5524f 100644 --- a/test/test_process.py +++ b/test/test_process.py @@ -175,7 +175,9 @@ class ProcessTest(CoverageTest): data.read_file(".coverage") summary = data.summary(fullpath=True) self.assertEqual(len(summary), 1) - self.assertEqual(list(summary.keys())[0], os.path.normpath('src/x.py')) + actual = os.path.abspath(list(summary.keys())[0]) + expected = os.path.abspath('src/x.py') + self.assertEqual(actual, expected) self.assertEqual(list(summary.values())[0], 6) def test_missing_source_file(self): -- cgit v1.2.1