diff options
author | Ned Batchelder <nedbat@gmail.com> | 2015-04-24 20:17:09 -0400 |
---|---|---|
committer | Ned Batchelder <nedbat@gmail.com> | 2015-04-24 20:17:09 -0400 |
commit | bb03090a714dc9f9c9a5b0ea3b36af05cfe7bc1a (patch) | |
tree | 407ffb056d4e08f0a8238ee766856a17af1ca83d /tests/test_cmdline.py | |
parent | 5d35a6e0ce6b96b37843a0e8f0fa52f3d015cb10 (diff) | |
parent | 22612b88e8cb8c61edaed97827d7910b11130415 (diff) | |
download | python-coveragepy-git-bb03090a714dc9f9c9a5b0ea3b36af05cfe7bc1a.tar.gz |
Merged in clytwynec/coverage.py/combine-from-multiple-dirs (pull request #51)
Added ability to combine coverage data files from multiple directories into one file via command line args.
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r-- | tests/test_cmdline.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index 775e0033..b616ed51 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -213,11 +213,18 @@ 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() + .combine(None) .save() """) |