diff --git a/locust/test/test_main.py b/locust/test/test_main.py index 3e5499d462..4f5d3d495f 100644 --- a/locust/test/test_main.py +++ b/locust/test/test_main.py @@ -375,7 +375,18 @@ def test_html_report_option(self): try: output = ( subprocess.check_output( - ["locust", "-f", mocked.file_path, "--host", "https://test.com/", "--run-time", "5s", "--headless", "--html", html_report_file_path], + [ + "locust", + "-f", + mocked.file_path, + "--host", + "https://test.com/", + "--run-time", + "5s", + "--headless", + "--html", + html_report_file_path, + ], stderr=subprocess.STDOUT, timeout=10, )