summaryrefslogtreecommitdiff
path: root/tests/test_html.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_html.py')
-rw-r--r--tests/test_html.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_html.py b/tests/test_html.py
index 5113cd06..89ad8d1c 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -1199,6 +1199,9 @@ class HtmlWithContextsTest(HtmlTestHelpers, CoverageTest):
]
assert sorted(expected) == sorted(actual)
+ cov.html_report(mod, directory="out/contexts")
+ compare_html(gold_path("html/contexts"), "out/contexts")
+
def test_filtered_dynamic_contexts(self) -> None:
self.make_file("two_tests.py", self.SOURCE)
cov = coverage.Coverage(source=["."])