locust 2.41.2.dev4__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.dev4'
32
- __version_tuple__ = version_tuple = (2, 41, 2, 'dev4')
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust
3
- Version: 2.41.2.dev4
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=SNTWsRHsJxAmrkqUanSM0opvzk2cn5DMIsPbQGT8c5k,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
@@ -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.dev4.dist-info/METADATA,sha256=okxkz_NwxhT_ln9G5FDR0yReomxBCNrb4azMBSHGFKE,9585
61
- locust-2.41.2.dev4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
- locust-2.41.2.dev4.dist-info/entry_points.txt,sha256=0uIHcQ71R1qaWhM_sd8uBUCCJgp7gJfGHUVMnJeZfcY,86
63
- locust-2.41.2.dev4.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
64
- locust-2.41.2.dev4.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