summaryrefslogtreecommitdiff
path: root/test/test_cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_cmdline.py')
-rw-r--r--test/test_cmdline.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py
index eb7fe0f5..0fd92de2 100644
--- a/test/test_cmdline.py
+++ b/test/test_cmdline.py
@@ -91,6 +91,14 @@ class CmdLineTest(CoverageTest):
)
+class CmdLineTestTest(CmdLineTest):
+ """Tests that our CmdLineTest helpers work."""
+ def test_assert_same_method_calls(self):
+ # All the other tests here use self.cmd_executes_same in successful
+ # ways, so here we just check that it fails.
+ self.assertRaises(AssertionError, self.cmd_executes_same, "-e", "-c")
+
+
class ClassicCmdLineTest(CmdLineTest):
"""Tests of the classic coverage.py command line."""