diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-09 21:10:17 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-09 21:10:17 -0400 |
commit | 001ce91c5d1dc346214997d9f5502460eefb021a (patch) | |
tree | 87ed2cc75f6564f17b7ccb052d6f08d53efe0622 /test/test_data.py | |
parent | 293fcba134b982d124bbbac4dbfea7dcb35be977 (diff) | |
download | python-coveragepy-001ce91c5d1dc346214997d9f5502460eefb021a.tar.gz |
More docstrings
Diffstat (limited to 'test/test_data.py')
-rw-r--r-- | test/test_data.py | 5 |
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): |