From 12860c24734a2d7e05ea6402c7ddcf5bfc470e75 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 23 Aug 2011 23:10:39 -0400 Subject: More windows tweaking. --- test/test_process.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_process.py b/test/test_process.py index 5b576d1f..33a761c5 100644 --- a/test/test_process.py +++ b/test/test_process.py @@ -173,7 +173,10 @@ class ProcessTest(CoverageTest): # files have been combined together. data = coverage.CoverageData() data.read_file(".coverage") - self.assertEqual(data.summary(fullpath=True), {'src/x.py': 6}) + summary = data.summary(fullpath=True) + self.assertEqual(len(summary), 1) + self.assertEqual(summary.keys()[0], os.path.normpath('src/x.py')) + self.assertEqual(summary.values()[0], 6) def test_missing_source_file(self): # Check what happens if the source is missing when reporting happens. -- cgit v1.2.1