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
commit8fbe22896bff70a8c72116eb222cd317f6db36d0 (patch)
tree51a29812bb67f8eec0bbf8bca240b0b93caa7c2c /test/test_data.py
parent1f7fcec9352691a6e7a90c20e13dc59b65865030 (diff)
downloadpython-coveragepy-git-8fbe22896bff70a8c72116eb222cd317f6db36d0.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 39d5ecd3..7a2687fd 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):