Skip to content

Commit

Permalink
Set --legacy-ui flag on legacy-ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbaldwin44 committed Jan 29, 2024
1 parent 008b189 commit 31aebde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions locust/test/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ def test_autostart_wo_run_time(self):
"locust",
"-f",
mocked.file_path,
"--legacy-ui",
"--web-port",
str(port),
"--autostart",
Expand Down Expand Up @@ -631,6 +632,7 @@ def test_autostart_w_run_time(self):
"locust",
"-f",
mocked.file_path,
"--legacy-ui",
"--web-port",
str(port),
"-t",
Expand Down Expand Up @@ -721,6 +723,7 @@ def tick(self):
"locust",
"-f",
mocked.file_path,
"--legacy-ui",
"--web-port",
str(port),
"--autostart",
Expand Down Expand Up @@ -788,6 +791,7 @@ def my_task(self):
"locust",
"-f",
f"{mocked1.file_path},{mocked2}",
"--legacy-ui",
"--web-port",
str(port),
"--autostart",
Expand Down Expand Up @@ -1081,6 +1085,7 @@ def test_html_report_option(self):
"locust",
"-f",
mocked.file_path,
"--legacy-ui",
"--host",
"https://test.com/",
"--run-time",
Expand Down

0 comments on commit 31aebde

Please sign in to comment.