diff --git a/pytest_html/plugin.py b/pytest_html/plugin.py index e66840de..744745a8 100644 --- a/pytest_html/plugin.py +++ b/pytest_html/plugin.py @@ -521,5 +521,6 @@ def pytest_sessionfinish(self, session): self._save_report(report_content) def pytest_terminal_summary(self, terminalreporter): - terminalreporter.write_sep('-', 'generated html file: {0}'.format( - self.logfile)) + terminalreporter.write_sep( + '-', + 'generated html file: file://{0}'.format(self.logfile))