diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-26 19:07:03 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-26 19:17:19 -0400 |
commit | 93c9ca9f1b2e5d0b45dbf4b82c77aaf05b458bac (patch) | |
tree | 6b0e1cc009da5e33ca87e8fb096704b27afe1a8f /tests/test_plugins.py | |
parent | 18cf3b897d4b1e1a66beda180ec151cc0dd4dbc3 (diff) | |
download | python-coveragepy-git-nedbat/dashq.tar.gz |
feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashq
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r-- | tests/test_plugins.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py index ecc464cc..17c7ba44 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -6,7 +6,6 @@ import inspect import io import os.path -import re from xml.etree import ElementTree import pytest @@ -256,8 +255,8 @@ class PluginTest(CoverageTest): out = self.run_command("coverage run main_file.py") assert out == "MAIN\n" - out = self.run_command("coverage html") - assert re.fullmatch(r"Wrote HTML report to htmlcov[/\\]index.html\n", out) + out = self.run_command("coverage html -q") # sneak in a test of -q + assert out == "" @pytest.mark.skipif(env.C_TRACER, reason="This test is only about PyTracer.") |