diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-04 10:40:21 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-04 10:40:21 -0500 |
commit | d10c638e259e78da69b91628fab6a16c10465cdd (patch) | |
tree | b7429411ec9f7c50e2524f5055a8deb6fa94b5cb /test/test_cmdline.py | |
parent | 0d605622213a0f4405ddc9b15dadbfb7af676c82 (diff) | |
download | python-coveragepy-d10c638e259e78da69b91628fab6a16c10465cdd.tar.gz |
The old way of getting help text was just weird.
Diffstat (limited to 'test/test_cmdline.py')
-rw-r--r-- | test/test_cmdline.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py index d4cc763..e8e2336 100644 --- a/test/test_cmdline.py +++ b/test/test_cmdline.py @@ -604,6 +604,12 @@ class CmdLineStdoutTest(CmdLineTest): assert "Code coverage for Python." in out assert out.count("\n") < 4 + def test_version(self): + self.command_line("--version") + out = self.stdout() + assert "ersion " in out + assert out.count("\n") < 4 + def test_help(self): self.command_line("help") out = self.stdout() |