From 31aebde737404a74ae124e33f7b5e69ddabfba8a Mon Sep 17 00:00:00 2001 From: Andrew Baldwin Date: Mon, 29 Jan 2024 11:27:23 -0500 Subject: [PATCH] Set --legacy-ui flag on legacy-ui tests --- locust/test/test_main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/locust/test/test_main.py b/locust/test/test_main.py index 3e94f87df9..ec8500baab 100644 --- a/locust/test/test_main.py +++ b/locust/test/test_main.py @@ -599,6 +599,7 @@ def test_autostart_wo_run_time(self): "locust", "-f", mocked.file_path, + "--legacy-ui", "--web-port", str(port), "--autostart", @@ -631,6 +632,7 @@ def test_autostart_w_run_time(self): "locust", "-f", mocked.file_path, + "--legacy-ui", "--web-port", str(port), "-t", @@ -721,6 +723,7 @@ def tick(self): "locust", "-f", mocked.file_path, + "--legacy-ui", "--web-port", str(port), "--autostart", @@ -788,6 +791,7 @@ def my_task(self): "locust", "-f", f"{mocked1.file_path},{mocked2}", + "--legacy-ui", "--web-port", str(port), "--autostart", @@ -1081,6 +1085,7 @@ def test_html_report_option(self): "locust", "-f", mocked.file_path, + "--legacy-ui", "--host", "https://test.com/", "--run-time",