summaryrefslogtreecommitdiff
path: root/test/test_cmdline.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-12-01 21:49:31 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-12-01 21:49:31 -0500
commit9b15c8db1b78e0b1c1c45332167a1cf7579b50f7 (patch)
tree05cd6b4b7f5a9cfcf4a1b3ef4df5d99859321f53 /test/test_cmdline.py
parent6b378c06cfcf60a83e187d0c84dea44eb9f480c7 (diff)
downloadpython-coveragepy-git-9b15c8db1b78e0b1c1c45332167a1cf7579b50f7.tar.gz
A --version option for the command line.
Diffstat (limited to 'test/test_cmdline.py')
-rw-r--r--test/test_cmdline.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py
index 20c9c5d4..f1e48e63 100644
--- a/test/test_cmdline.py
+++ b/test/test_cmdline.py
@@ -270,6 +270,10 @@ class ClassicCmdLineTest(CmdLineTest):
self.cmd_help("-h", topic="help", ret=OK)
self.cmd_help("--help", topic="help", ret=OK)
+ def testVersion(self):
+ # coverage --version
+ self.cmd_help("--version", topic="version", ret=OK)
+
## Error cases
def testArglessActions(self):