diff --git a/pytest_mpl/plugin.py b/pytest_mpl/plugin.py index b23f50a4..fd8fe03c 100644 --- a/pytest_mpl/plugin.py +++ b/pytest_mpl/plugin.py @@ -726,11 +726,11 @@ def pytest_unconfigure(self, config): kwargs["hash_library"] = result_hash_library.name if 'html' in self.generate_summary: summary = generate_summary_html(self._test_results, self.results_dir, **kwargs) - print(f"A summary of the failed tests can be found at: {summary}") + print(f"A summary of test results can be found at: {summary}") if 'basic-html' in self.generate_summary: summary = generate_summary_basic_html(self._test_results, self.results_dir, **kwargs) - print(f"A summary of the failed tests can be found at: {summary}") + print(f"A summary of test results can be found at: {summary}") class FigureCloser: diff --git a/tests/test_pytest_mpl.py b/tests/test_pytest_mpl.py index 0843fe68..5ab4d8a0 100644 --- a/tests/test_pytest_mpl.py +++ b/tests/test_pytest_mpl.py @@ -297,7 +297,7 @@ def test_hash_fails(tmpdir): output = assert_pytest_fails_with(['--mpl', test_file, '--mpl-generate-summary=html'], "doesn't match hash FAIL in library") # We didn't specify a baseline dir so we shouldn't attempt to find one - print_message = "A summary of the failed tests can be found at:" + print_message = "A summary of test results can be found at:" assert print_message in output, output printed_path = Path(output.split(print_message)[1].strip()) assert printed_path.exists()