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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_html.py b/tests/test_html.py
index 955a8537..8c6dc693 100644
--- a/tests/test_html.py
+++ b/tests/test_html.py
@@ -343,7 +343,7 @@ class HtmlWithUnparsableFilesTest(HtmlTestHelpers, CoverageTest):
# Run an "HTML" file
self.make_file("innocuous.html", "a = 3")
- self.run_command("coverage run innocuous.html")
+ self.run_command("coverage run --source=. innocuous.html")
# Before reporting, change it to be an HTML file.
self.make_file("innocuous.html", "<h1>This isn't python at all!</h1>")
output = self.run_command("coverage html")