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 | 8fbe22896bff70a8c72116eb222cd317f6db36d0 (patch) | |
tree | 51a29812bb67f8eec0bbf8bca240b0b93caa7c2c /test/test_cmdline.py | |
parent | 1f7fcec9352691a6e7a90c20e13dc59b65865030 (diff) | |
download | python-coveragepy-git-8fbe22896bff70a8c72116eb222cd317f6db36d0.tar.gz |
More docstrings
Diffstat (limited to 'test/test_cmdline.py')
-rw-r--r-- | test/test_cmdline.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py index 4da542da..38f2121d 100644 --- a/test/test_cmdline.py +++ b/test/test_cmdline.py @@ -11,9 +11,11 @@ class CmdLineTest(CoverageTest): """Tests of command-line processing for Coverage.""" def help_fn(self, error=None): + """A mock help_fn to capture the error messages for tests.""" raise Exception(error or "__doc__") def command_line(self, argv): + """Run a Coverage command line, with `argv` as arguments.""" return coverage.CoverageScript().command_line(argv, self.help_fn) def testHelp(self): |