diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2022-11-06 13:28:32 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-11-06 13:33:53 -0500 |
| commit | faaf0d45abcf0a11c9e5db144c5b79f581dd92eb (patch) | |
| tree | 9728e543c6789b19bcdf4e5f0dfbf10b2f9ceb2d /tests/test_cmdline.py | |
| parent | 8389674d5d0f15dcb84896439f74ada0bc2150da (diff) | |
| download | python-coveragepy-git-faaf0d45abcf0a11c9e5db144c5b79f581dd92eb.tar.gz | |
fix: only accept known values for --format
Diffstat (limited to 'tests/test_cmdline.py')
| -rw-r--r-- | tests/test_cmdline.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index 378c901d..96e7ffb9 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -585,6 +585,11 @@ class CmdLineTest(BaseCmdLineTest): cov.load() cov.report(show_missing=None) """) + self.cmd_executes("report --format=markdown", """\ + cov = Coverage() + cov.load() + cov.report(output_format="markdown") + """) def test_run(self): # coverage run [-p] [-L] [--timid] MODULE.py [ARG1 ARG2 ...] |
