locust 2.41.2.dev3__py3-none-any.whl → 2.41.2.dev6__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/_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '2.41.2.dev3'
32
- __version_tuple__ = version_tuple = (2, 41, 2, 'dev3')
31
+ __version__ = version = '2.41.2.dev6'
32
+ __version_tuple__ = version_tuple = (2, 41, 2, 'dev6')
33
33
 
34
34
  __commit_id__ = commit_id = None
locust/main.py CHANGED
@@ -437,7 +437,7 @@ See https://github.com/locustio/locust/wiki/Installation#increasing-maximum-numb
437
437
 
438
438
  if options.run_time:
439
439
  if options.worker:
440
- logger.info("--run-time specified for a worker node will be ignored.")
440
+ logger.debug("--run-time specified for a worker node will be ignored.")
441
441
 
442
442
  if options.csv_prefix:
443
443
  base_csv_file = os.path.basename(options.csv_prefix)
@@ -491,7 +491,7 @@ See https://github.com/locustio/locust/wiki/Installation#increasing-maximum-numb
491
491
  logger.info("The --autostart argument is implied by --headless, no need to set both.")
492
492
 
493
493
  if options.autostart and options.worker:
494
- logger.info("The --autostart argument has no meaning on a worker.")
494
+ logger.debug("The --autostart argument has no meaning on a worker.")
495
495
 
496
496
  def assign_equal_weights(environment, **kwargs):
497
497
  environment.assign_equal_weights()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust
3
- Version: 2.41.2.dev3
3
+ Version: 2.41.2.dev6
4
4
  Summary: Developer-friendly load testing framework
5
5
  Project-URL: homepage, https://locust.io/
6
6
  Project-URL: repository, https://github.com/locustio/locust
@@ -1,6 +1,6 @@
1
1
  locust/__init__.py,sha256=HadpgGidiyCDPSKwkxrk1Qw6eB7dTmftNJVftuJzAiw,1876
2
2
  locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
3
- locust/_version.py,sha256=Vxyf30IeyQ9ivP3z3Wa-O-11GTkHWgag0Ct8kZWsclc,719
3
+ locust/_version.py,sha256=lJwVBkuBauON9GYMDA9x0-y6iW25udKez8aRrn-NwAE,719
4
4
  locust/argument_parser.py,sha256=E0HM9jOlKCzPM9S_E_UKSwgiF_CL0aIli5eCcOG8Xac,33547
5
5
  locust/clients.py,sha256=OfMTOT3LwijczdL3u6bpDwDNM2TDcPCIwXBelizPOyw,20776
6
6
  locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
@@ -11,7 +11,7 @@ locust/exception.py,sha256=XCQyJj5XHvJPgTWGhzgjjavoqVdyF0tqG2wj6WzmXvo,1954
11
11
  locust/html.py,sha256=18LlaL-NEQdthXVdS16gRAd4SOpW_bowOJKyuLvWrCY,4043
12
12
  locust/input_events.py,sha256=lqLDB2Ax-OQ7-vtYNkGjySjfaWVobBzqf0GxRwjcLcQ,3323
13
13
  locust/log.py,sha256=5E2ZUOa3V4sfCqa-470Gle1Ik9L5nxYitsjEB9tRwE0,3455
14
- locust/main.py,sha256=rcUD3MnBnFqeXC41fjGkh4p9POLGWglgPvRAfHKtEnc,28896
14
+ locust/main.py,sha256=riKiT8Rx9rUqbUY4iivlM3odvVdPJIFyVdAS1k6QNJg,28898
15
15
  locust/py.typed,sha256=gkWLl8yD4mIZnNYYAIRM8g9VarLvWmTAFeUfEbxJLBw,65
16
16
  locust/runners.py,sha256=niYmGsfOpxMfVmTXGod4MYTefpaZ2wirFlhqxRw5mq4,70617
17
17
  locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
@@ -56,9 +56,9 @@ locust/webui/dist/assets/index-K-WEtXhX.js,sha256=y7SRPTvAQfaG2Km3qvri8rgkdQSRZe
56
56
  locust/webui/dist/assets/terminal.gif,sha256=iw80LO2u0dnf4wpGfFJZauBeKTcSpw9iUfISXT2nEF4,75302
57
57
  locust/webui/dist/assets/testruns-dark.png,sha256=G4p2VZSBuuqF4neqUaPSshIp5OKQJ_Bvb69Luj6XuVs,125231
58
58
  locust/webui/dist/assets/testruns-light.png,sha256=JinGDiiBPOkhpfF-XCbmQqhRInqItrjrBTLKt5MlqVI,130301
59
- pytest_locust/plugin.py,sha256=WAyiRHLynXegbbX2DxIutPKO4PQRT6JdBFA7zbbaJgM,1469
60
- locust-2.41.2.dev3.dist-info/METADATA,sha256=JQN0XpKPtlCaQy0ewtUGgspf9SqYw_GwCF-mlBiYvGw,9585
61
- locust-2.41.2.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
- locust-2.41.2.dev3.dist-info/entry_points.txt,sha256=0uIHcQ71R1qaWhM_sd8uBUCCJgp7gJfGHUVMnJeZfcY,86
63
- locust-2.41.2.dev3.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
64
- locust-2.41.2.dev3.dist-info/RECORD,,
59
+ pytest_locust/plugin.py,sha256=3jr_5H_1SHCJTdQdgnTDJ-09r5jXzNKxJPkocfE9HF4,1669
60
+ locust-2.41.2.dev6.dist-info/METADATA,sha256=-zW1OXa1kZh8vVNmAEvmGmeQ7qSft-kc2bHP31j7tdQ,9585
61
+ locust-2.41.2.dev6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
+ locust-2.41.2.dev6.dist-info/entry_points.txt,sha256=0uIHcQ71R1qaWhM_sd8uBUCCJgp7gJfGHUVMnJeZfcY,86
63
+ locust-2.41.2.dev6.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
64
+ locust-2.41.2.dev6.dist-info/RECORD,,
pytest_locust/plugin.py CHANGED
@@ -49,4 +49,10 @@ def fastsession(user: "User | None" = None):
49
49
 
50
50
 
51
51
  def pytest_addoption(parser: pytest.Parser) -> None:
52
- parser.addoption("--host", "-H", action="store", default=None)
52
+ try:
53
+ parser.addoption("--host", "-H", action="store", default=None)
54
+ except ValueError as e:
55
+ if "already added" in str(e):
56
+ pass # just ignore duplicate definition, if someone other plugin defines it
57
+ else:
58
+ raise