summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
diff options
context:
space:
mode:
authorChristine Lytwynec <chris.lytwynec@gmail.com>2015-04-23 16:25:08 -0400
committerChristine Lytwynec <chris.lytwynec@gmail.com>2015-04-23 16:25:08 -0400
commit19f1e1d1ca178bae6a9d7ea746fda4dd674c8e9b (patch)
tree0d0b5e60b5e66c9c3800164539400a01bf75406e /tests/test_cmdline.py
parent84d4702ac0066209066a399e68d271142d981359 (diff)
downloadpython-coveragepy-git-19f1e1d1ca178bae6a9d7ea746fda4dd674c8e9b.tar.gz
Update tests
--HG-- branch : combine-from-multiple-dirs
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?")