summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-05-08 18:14:17 -0400
committerNed Batchelder <ned@nedbatchelder.com>2016-05-08 18:14:17 -0400
commit9f3b8ef60c3febac16ebb0a5e54319f7cf4c690f (patch)
tree611b7574444bf96bfd3180d9855096fa6334fb26 /tests/test_plugins.py
parent59e6ad6ccf9cb36eedd0417add05115785b00aad (diff)
downloadpython-coveragepy-git-9f3b8ef60c3febac16ebb0a5e54319f7cf4c690f.tar.gz
Correct the defaults for coverage.report(show_missing=None, skip_covered=None)
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r--tests/test_plugins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
index 2129076a..fe43c4c0 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -408,7 +408,7 @@ class GoodPluginTest(FileTracerTest):
self.start_import_stop(cov, "caller")
repout = StringIO()
- total = cov.report(file=repout, include=["*.html"], omit=["uni*.html"])
+ total = cov.report(file=repout, include=["*.html"], omit=["uni*.html"], show_missing=True)
report = repout.getvalue().splitlines()
expected = [
'Name Stmts Miss Branch BrPart Cover Missing',
@@ -497,7 +497,7 @@ class GoodPluginTest(FileTracerTest):
self.start_import_stop(cov, "unsuspecting")
repout = StringIO()
- total = cov.report(file=repout)
+ total = cov.report(file=repout, show_missing=True)
report = repout.getvalue().splitlines()
expected = [
'Name Stmts Miss Cover Missing',