summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r--tests/test_plugins.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
index ca0e6dac..18c08507 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -6,6 +6,7 @@
import inspect
import io
import os.path
+import re
from xml.etree import ElementTree
import pytest
@@ -256,7 +257,7 @@ class PluginTest(CoverageTest):
out = self.run_command("coverage run main_file.py")
assert out == "MAIN\n"
out = self.run_command("coverage html")
- assert out == ""
+ assert re.fullmatch(r"Wrote HTML report to htmlcov[/\\]index.html\n", out)
@pytest.mark.skipif(env.C_TRACER, reason="This test is only about PyTracer.")