Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow getting locust files from http urls #2595

Merged
merged 8 commits into from
Feb 11, 2024

Conversation

DennisKrone
Copy link
Collaborator

-f will now accept http urls as locustfiles (for example from a remote git repo).

@@ -209,3 +211,18 @@ def test_locustfile_can_be_set_in_config_file(self):
]
)
self.assertEqual("my_locust_file.py", options.locustfile)

def test_locustfile_from_url(self):
locustfiles = parse_locustfile_option(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not call parse_options instead? (as that tests more). Not a big issue though...

@cyberw cyberw merged commit 41c15e7 into locustio:master Feb 11, 2024
16 checks passed
@cyberw
Copy link
Collaborator

cyberw commented Feb 11, 2024

I wanna get 2.23 out there so I merged it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants