summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r--tests/test_cmdline.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 54d84197..b616ed51 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -213,13 +213,20 @@ class CmdLineTest(BaseCmdLineTest):
""")
def test_combine(self):
- # coverage combine
+ # coverage combine with args
self.cmd_executes("combine datadir1", """\
.coverage()
.load()
.combine(["datadir1"])
.save()
""")
+ # coverage combine without args
+ self.cmd_executes("combine", """\
+ .coverage()
+ .load()
+ .combine(None)
+ .save()
+ """)
def test_debug(self):
self.cmd_help("debug", "What information would you like: data, sys?")