summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-04-28 21:59:50 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-04-28 21:59:50 -0400
commitc740ba3e236b53a4de89f390c4588e519ae94c1f (patch)
tree616525e632724c622653312e9d31deb8c1f927d3 /test
parenta5e480a488b15b0fffe2eb3a600c7dfd7b44bf96 (diff)
downloadpython-coveragepy-c740ba3e236b53a4de89f390c4588e519ae94c1f.tar.gz
Finish up the cmdline details for -b
Diffstat (limited to 'test')
-rw-r--r--test/test_cmdline.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py
index 27fcd84..8da78ef 100644
--- a/test/test_cmdline.py
+++ b/test/test_cmdline.py
@@ -24,9 +24,11 @@ class CmdLineTest(CoverageTest):
def testBadActionCombinations(self):
self.assertRaisesMsg(Exception, "You can't specify the 'erase' and 'annotate' options at the same time.", self.command_line, ['-e', '-a'])
self.assertRaisesMsg(Exception, "You can't specify the 'erase' and 'report' options at the same time.", self.command_line, ['-e', '-r'])
+ self.assertRaisesMsg(Exception, "You can't specify the 'erase' and 'html' options at the same time.", self.command_line, ['-e', '-b'])
self.assertRaisesMsg(Exception, "You can't specify the 'erase' and 'combine' options at the same time.", self.command_line, ['-e', '-c'])
self.assertRaisesMsg(Exception, "You can't specify the 'execute' and 'annotate' options at the same time.", self.command_line, ['-x', '-a'])
self.assertRaisesMsg(Exception, "You can't specify the 'execute' and 'report' options at the same time.", self.command_line, ['-x', '-r'])
+ self.assertRaisesMsg(Exception, "You can't specify the 'execute' and 'html' options at the same time.", self.command_line, ['-x', '-b'])
self.assertRaisesMsg(Exception, "You can't specify the 'execute' and 'combine' options at the same time.", self.command_line, ['-x', '-c'])
def testNeedAction(self):