summaryrefslogtreecommitdiff
path: root/test/test_data.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-05-09 21:10:17 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-05-09 21:10:17 -0400
commit001ce91c5d1dc346214997d9f5502460eefb021a (patch)
tree87ed2cc75f6564f17b7ccb052d6f08d53efe0622 /test/test_data.py
parent293fcba134b982d124bbbac4dbfea7dcb35be977 (diff)
downloadpython-coveragepy-001ce91c5d1dc346214997d9f5502460eefb021a.tar.gz
More docstrings
Diffstat (limited to 'test/test_data.py')
-rw-r--r--test/test_data.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_data.py b/test/test_data.py
index 39d5ecd..7a2687f 100644
--- a/test/test_data.py
+++ b/test/test_data.py
@@ -17,11 +17,14 @@ EXECED_FILES_1_2 = [ 'a.py', 'b.py', 'c.py' ]
class DataTest(CoverageTest):
-
+ """Test cases for coverage.data."""
+
def assert_summary(self, covdata, summary):
+ """Check that the summary of `covdata` is `summary`."""
self.assertEqual(covdata.summary(), summary)
def assert_executed_files(self, covdata, execed):
+ """Check that `covdata`'s executed files are `execed`."""
self.assert_equal_sets(covdata.executed_files(), execed)
def test_reading_empty(self):