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
commitd99b6663f627f1ca0df6a38d32c24d60a8dcfcc8 (patch)
tree931617642f73033d049cd4f9fb9a6904dec1e730 /test/test_cmdline.py
parent6c76f221a68c88ae6820bafabac19653dc735a97 (diff)
downloadpython-coveragepy-d99b6663f627f1ca0df6a38d32c24d60a8dcfcc8.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 20c9c5d..f1e48e6 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):