locust-cloud 1.27.2.dev6__tar.gz → 1.27.2.dev9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of locust-cloud might be problematic. Click here for more details.
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/PKG-INFO +1 -1
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/__init__.py +4 -2
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/args.py +0 -1
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/.github/workflows/daily-check.yml +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/.github/workflows/tests.yml +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/.gitignore +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/.pre-commit-config.yaml +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/.vscode/extensions.json +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/.vscode/launch.json +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/.vscode/settings.json +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/LICENSE +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/README.md +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/apisession.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/common.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/docs/.gitignore +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/docs/1-first-run.rst +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/docs/2-examples.rst +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/docs/locust-cloud.rst +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/import_finder.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/input_events.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/web_login.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locust_cloud/websocket.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/locustfile.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/pyproject.toml +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/testdata/autodetected.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/testdata/extra-files/extra.txt +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/testdata/extra-package/example/__init__.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/testdata/extra-package/setup.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/testdata/requirements.txt +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/tests/args_test.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/tests/browser_tests.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/tests/cloud_test.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/tests/import_finder_test.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/tests/web_login_test.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/tests/websocket_test.py +0 -0
- {locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/uv.lock +0 -0
|
@@ -86,7 +86,6 @@ def main(locustfiles: list[str] | None = None):
|
|
|
86
86
|
]
|
|
87
87
|
|
|
88
88
|
locust_args = [
|
|
89
|
-
{"name": "LOCUST_USERS", "value": str(options.users)},
|
|
90
89
|
{"name": "LOCUST_FLAGS", "value": " ".join([option for option in locust_options if option != "--cloud"])},
|
|
91
90
|
{"name": "LOCUSTCLOUD_DEPLOYER_URL", "value": session.api_url},
|
|
92
91
|
*locust_env_variables,
|
|
@@ -98,7 +97,6 @@ def main(locustfiles: list[str] | None = None):
|
|
|
98
97
|
payload = {
|
|
99
98
|
"locust_args": locust_args,
|
|
100
99
|
"project_data": project_data,
|
|
101
|
-
"user_count": options.users,
|
|
102
100
|
}
|
|
103
101
|
|
|
104
102
|
if options.image_tag is not None:
|
|
@@ -111,6 +109,10 @@ def main(locustfiles: list[str] | None = None):
|
|
|
111
109
|
if options.workers is not None:
|
|
112
110
|
payload["worker_count"] = options.workers
|
|
113
111
|
|
|
112
|
+
if options.users:
|
|
113
|
+
payload["user_count"] = options.users
|
|
114
|
+
locust_args.append({"name": "LOCUST_USERS", "value": str(options.users)})
|
|
115
|
+
|
|
114
116
|
if options.requirements:
|
|
115
117
|
payload["requirements"] = options.requirements
|
|
116
118
|
|
|
@@ -273,7 +273,6 @@ combined_cloud_parser.add_argument(
|
|
|
273
273
|
"-u",
|
|
274
274
|
"--users",
|
|
275
275
|
type=int,
|
|
276
|
-
default=1,
|
|
277
276
|
help="Number of users to launch. This is the same as the regular Locust argument, but also affects how many workers to launch.",
|
|
278
277
|
env_var="LOCUST_USERS",
|
|
279
278
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{locust_cloud-1.27.2.dev6 → locust_cloud-1.27.2.dev9}/testdata/extra-package/example/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|