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.

Files changed (40) hide show
  1. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/PKG-INFO +1 -1
  2. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/import_finder.py +2 -2
  3. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/import_finder_test.py +3 -3
  4. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.github/workflows/daily-alb-teardown.yml +0 -0
  5. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.github/workflows/daily-check.yml +0 -0
  6. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.github/workflows/tests.yml +0 -0
  7. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.gitignore +0 -0
  8. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.pre-commit-config.yaml +0 -0
  9. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.vscode/extensions.json +0 -0
  10. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.vscode/launch.json +0 -0
  11. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/.vscode/settings.json +0 -0
  12. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/LICENSE +0 -0
  13. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/README.md +0 -0
  14. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/alb-teardown.py +0 -0
  15. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/__init__.py +0 -0
  16. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/actions.py +0 -0
  17. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/apisession.py +0 -0
  18. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/args.py +0 -0
  19. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/cloud.py +0 -0
  20. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/common.py +0 -0
  21. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/.gitignore +0 -0
  22. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/1-first-run.rst +0 -0
  23. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/2-examples.rst +0 -0
  24. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
  25. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/docs/locust-cloud.rst +0 -0
  26. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/input_events.py +0 -0
  27. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/web_login.py +0 -0
  28. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locust_cloud/websocket.py +0 -0
  29. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/locustfile.py +0 -0
  30. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/pyproject.toml +0 -0
  31. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/testdata/extra-files/extra.txt +0 -0
  32. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/testdata/extra-package/example/__init__.py +0 -0
  33. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/testdata/extra-package/setup.py +0 -0
  34. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/testdata/requirements.txt +0 -0
  35. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/args_test.py +0 -0
  36. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/browser_tests.py +0 -0
  37. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/cloud_test.py +0 -0
  38. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/web_login_test.py +0 -0
  39. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/tests/websocket_test.py +0 -0
  40. {locust_cloud-1.25.3.dev5 → locust_cloud-1.25.3.dev7}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust-cloud
3
- Version: 1.25.3.dev5
3
+ Version: 1.25.3.dev7
4
4
  Summary: Locust Cloud
5
5
  Project-URL: homepage, https://locust.cloud
6
6
  Project-URL: repository, https://github.com/locustcloud/locust-cloud
@@ -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.split(".")[0]
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.split(".")[0]
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)