summaryrefslogtreecommitdiff
path: root/test/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-08-23 23:10:39 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-08-23 23:10:39 -0400
commitb0b390ac47c3672251a49e3df042345c1aabf0a1 (patch)
tree7f472acc5d76bf3de874cbb0309251a1f4114c75 /test/test_process.py
parent644b6cf5acaeee8614945394f05b383de3cf3b04 (diff)
downloadpython-coveragepy-b0b390ac47c3672251a49e3df042345c1aabf0a1.tar.gz
More windows tweaking.
Diffstat (limited to 'test/test_process.py')
-rw-r--r--test/test_process.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_process.py b/test/test_process.py
index 5b576d1..33a761c 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.