locust-cloud 1.25.3.dev5__tar.gz → 1.25.3.dev7__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.25.3.dev5 → locust_cloud-1.25.3.dev7}/PKG-INFO +1 -1
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/import_finder.py +2 -2
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/import_finder_test.py +3 -3
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.github/workflows/daily-alb-teardown.yml +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.github/workflows/daily-check.yml +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.github/workflows/tests.yml +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.gitignore +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.pre-commit-config.yaml +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.vscode/extensions.json +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.vscode/launch.json +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.vscode/settings.json +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/LICENSE +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/README.md +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/alb-teardown.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/__init__.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/actions.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/apisession.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/args.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/cloud.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/common.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/.gitignore +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/1-first-run.rst +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/2-examples.rst +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/locust-cloud.rst +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/input_events.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/web_login.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/websocket.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locustfile.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/pyproject.toml +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/testdata/extra-files/extra.txt +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/testdata/extra-package/example/__init__.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/testdata/extra-package/setup.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/testdata/requirements.txt +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/args_test.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/browser_tests.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/cloud_test.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/web_login_test.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/websocket_test.py +0 -0
- {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/uv.lock +0 -0
|
@@ -15,12 +15,12 @@ def imported_modules(tree):
|
|
|
15
15
|
for node in ast.walk(tree):
|
|
16
16
|
if isinstance(node, ast.Import):
|
|
17
17
|
for alias in node.names:
|
|
18
|
-
yield alias.name
|
|
18
|
+
yield alias.name
|
|
19
19
|
if isinstance(node, ast.ImportFrom):
|
|
20
20
|
if node.level: # relative import
|
|
21
21
|
continue
|
|
22
22
|
if node.module:
|
|
23
|
-
yield node.module
|
|
23
|
+
yield node.module
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
def get_imported_files(file_path: Path) -> set[Path]:
|
|
@@ -115,7 +115,7 @@ def test_package_imports():
|
|
|
115
115
|
(test_package / "__init__.py").write_text(
|
|
116
116
|
textwrap.dedent(
|
|
117
117
|
"""
|
|
118
|
-
from test import bar
|
|
118
|
+
from .test import bar
|
|
119
119
|
def foo():
|
|
120
120
|
return "bar"
|
|
121
121
|
"""
|
|
@@ -134,12 +134,12 @@ def test_package_imports():
|
|
|
134
134
|
assert get_imported_files(Path(f)) == {test_package.relative_to(CWD)}
|
|
135
135
|
|
|
136
136
|
with temporary_file("import test_package.test") as f:
|
|
137
|
-
assert get_imported_files(Path(f)) == {test_package.relative_to(CWD)}
|
|
137
|
+
assert get_imported_files(Path(f)) == {(test_package / "test.py").relative_to(CWD)}
|
|
138
138
|
|
|
139
139
|
with temporary_file("from test_package import bar") as f:
|
|
140
140
|
assert get_imported_files(Path(f)) == {test_package.relative_to(CWD)}
|
|
141
141
|
|
|
142
142
|
with temporary_file("from test_package.test import bar") as f:
|
|
143
|
-
assert get_imported_files(Path(f)) == {test_package.relative_to(CWD)}
|
|
143
|
+
assert get_imported_files(Path(f)) == {(test_package / "test.py").relative_to(CWD)}
|
|
144
144
|
finally:
|
|
145
145
|
shutil.rmtree(test_package, ignore_errors=True)
|
{locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.github/workflows/daily-alb-teardown.yml
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
|
|
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.25.3.dev5 → locust_cloud-1.25.3.dev7}/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
|