locust-cloud 1.23.2.dev4__py3-none-any.whl → 1.23.3.dev3__py3-none-any.whl

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.
locust_cloud/cloud.py CHANGED
@@ -10,7 +10,6 @@ from locust_cloud.apisession import ApiSession
10
10
  from locust_cloud.args import combined_cloud_parser
11
11
  from locust_cloud.common import __version__
12
12
  from locust_cloud.input_events import input_listener
13
- from locust_cloud.web_login import logout, web_login
14
13
  from locust_cloud.websocket import SessionMismatchError, Websocket, WebsocketTimeout
15
14
 
16
15
  logger = logging.getLogger(__name__)
@@ -37,26 +36,9 @@ def main():
37
36
  logger.error("A locustfile is required to run a test.")
38
37
  return 1
39
38
 
40
- if options.login:
41
- try:
42
- web_login()
43
- except Exception:
44
- pass
45
- return
46
- if options.logout:
47
- try:
48
- logout()
49
- except Exception:
50
- pass
51
- return
52
-
53
39
  session = ApiSession(options.non_interactive)
54
40
  websocket = Websocket()
55
41
 
56
- if options.delete:
57
- delete(session)
58
- return
59
-
60
42
  try:
61
43
  logger.info(f"Deploying ({session.region}, {__version__})")
62
44
  locust_env_variables = [
@@ -153,11 +153,17 @@ If your package is not published to Pypi, requirements.txt can reference other r
153
153
  --extra-index-url https://test.pypi.org/simple/ # your index url
154
154
  ... # your packages
155
155
 
156
- You can also specify additional files to be copied to the load generators using the ``--extra-files`` option:
156
+ You can also upload a package that you have locally:
157
157
 
158
158
  .. code-block:: console
159
159
 
160
- --extra-files testdata.csv *.py my-directory/
160
+ --extra-packages helper.whl other-helper.tar.gz third-helper/
161
+
162
+ You can also specify additional files (data, python files or even entire directories/modules) to be copied to the load generators using the ``--extra-files`` option:
163
+
164
+ .. code-block:: console
165
+
166
+ --extra-files testdata.csv helper.py more-testdata/ other_helper/
161
167
 
162
168
  View dashboard / previous test runs
163
169
  ===================================
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust-cloud
3
- Version: 1.23.2.dev4
3
+ Version: 1.23.3.dev3
4
4
  Summary: Locust Cloud
5
5
  Project-URL: homepage, https://locust.cloud
6
6
  Project-URL: repository, https://github.com/locustcloud/locust-cloud
@@ -2,18 +2,18 @@ locust_cloud/__init__.py,sha256=6z2hE5rUP9WJyYgr-7XC2GhIV-05m8XxjOsnb8ae1WY,56
2
2
  locust_cloud/actions.py,sha256=lMxKZCwfcsbYf9t5ti20QP60gKt8HHwyz8yjYm0H-a8,762
3
3
  locust_cloud/apisession.py,sha256=JkXiGEtJCBxOW11P0KGr0AUc_AmfqAlO5SijC0zf85w,4368
4
4
  locust_cloud/args.py,sha256=Kr1plMq79KGni3xogmY1FBe6qtdvncM3CJ8in2HijAk,10990
5
- locust_cloud/cloud.py,sha256=-WOqwbmQ90omBAOX3d4HGl4kIE9WeCrsb0D7Xt6h2_s,6248
5
+ locust_cloud/cloud.py,sha256=4jNu4Ec1kfOOnwF7Md5r0lnx9FWvH14I4DV56Tsripc,5899
6
6
  locust_cloud/common.py,sha256=GVKkWcbbqd9n8oU-fHZRVZw3jGtuIVGSCLD2ZizeEo0,1160
7
7
  locust_cloud/input_events.py,sha256=6gariDmjZfqQZDFOO_AbrqqMpDesQALEKfXZ3Lps6GQ,3417
8
8
  locust_cloud/web_login.py,sha256=2RC2NHczVdlz2bzmcPDDOR5UbL5ymBK2DUeo_5V6gY0,2553
9
9
  locust_cloud/websocket.py,sha256=9Q7nTFuAwVhgW74DlJNcHTZXOQ1drsXi8hX9ciZhWlQ,8998
10
10
  locust_cloud/docs/.gitignore,sha256=ghNPcjYkjQXNS_eVmu2hQFhq6FIUliAD1O2CJhulS2o,10
11
11
  locust_cloud/docs/1-first-run.rst,sha256=4CyEoreZfbuon30bRocx7mmKWEso-pVQeWqPiRWr3Dk,1630
12
- locust_cloud/docs/2-examples.rst,sha256=b8yipIaPfNCnZrQq6StSeC3UkpwmXFjCphxiTqzJwFo,10338
12
+ locust_cloud/docs/2-examples.rst,sha256=urm5twTrQahpkclXee7OOPf2q5DEHYzFA_BDu3HJCCA,10557
13
13
  locust_cloud/docs/locust-cloud.rst,sha256=KwolrGHH4RtU7VvzO6-QRAJu-ekPPR6XVzdf8i9qZGM,156
14
14
  locust_cloud/docs/images/locust-cloud-screenshot.png,sha256=ag0IxBi-40VexC84MApol1GCgRCL2h-l8NQDTMaeTyE,477350
15
- locust_cloud-1.23.2.dev4.dist-info/METADATA,sha256=_QYGDwmFWQT-7riUs21sniJduXGFN_KEV19y87LqE9Y,827
16
- locust_cloud-1.23.2.dev4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
- locust_cloud-1.23.2.dev4.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
18
- locust_cloud-1.23.2.dev4.dist-info/licenses/LICENSE,sha256=Ow6fY6ta4KIjdlWalmxGvRP8yLmetvkbkl-SdHMjPIs,1093
19
- locust_cloud-1.23.2.dev4.dist-info/RECORD,,
15
+ locust_cloud-1.23.3.dev3.dist-info/METADATA,sha256=5nTsaoSb4oQCT1caGma077_nFaCSbTzv52vHqWhCp18,827
16
+ locust_cloud-1.23.3.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
+ locust_cloud-1.23.3.dev3.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
18
+ locust_cloud-1.23.3.dev3.dist-info/licenses/LICENSE,sha256=Ow6fY6ta4KIjdlWalmxGvRP8yLmetvkbkl-SdHMjPIs,1093
19
+ locust_cloud-1.23.3.dev3.dist-info/RECORD,,