Skip to content

Commit f8d46a9

Browse files
committed
Fix ruff findings
1 parent 44f0779 commit f8d46a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: locust/test/test_main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ def test_headless_wo_host(self):
14241424
text=True,
14251425
)
14261426
stdout, stderr = proc.communicate(timeout=4)
1427-
self.assertIn('The --host option is required when running in headless mode', stderr)
1427+
self.assertIn("The --host option is required when running in headless mode", stderr)
14281428
self.assertEqual(1, proc.returncode)
14291429

14301430
def test_headless_wo_protocol(self):
@@ -1447,7 +1447,7 @@ def test_headless_wo_protocol(self):
14471447
text=True,
14481448
)
14491449
stdout, stderr = proc.communicate(timeout=4)
1450-
self.assertIn('Invalid --host option: test.com. Did you mean https://test.com?', stderr)
1450+
self.assertIn("Invalid --host option: test.com. Did you mean https://test.com?", stderr)
14511451
self.assertEqual(1, proc.returncode)
14521452

14531453
def test_headless_w_host(self):

0 commit comments

Comments
 (0)