locust 2.37.1.dev2__py3-none-any.whl → 2.37.1.dev4__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
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '2.37.1.dev2'
21
- __version_tuple__ = version_tuple = (2, 37, 1, 'dev2')
20
+ __version__ = version = '2.37.1.dev4'
21
+ __version_tuple__ = version_tuple = (2, 37, 1, 'dev4')
locust/stats.py CHANGED
@@ -821,8 +821,8 @@ def print_stats_json(stats: RequestStats) -> None:
821
821
 
822
822
 
823
823
  def save_stats_json(stats: RequestStats, filename: str) -> None:
824
- with open(f"{filename}.json", "w") as _:
825
- json.dumps(stats.serialize_stats(), indent=4)
824
+ with open(f"{filename}.json", "w") as file:
825
+ json.dump(stats.serialize_stats(), file, indent=4)
826
826
 
827
827
 
828
828
  def get_stats_summary(stats: RequestStats, current=True) -> list[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust
3
- Version: 2.37.1.dev2
3
+ Version: 2.37.1.dev4
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=aWeuBPUxONjwNm1xp4v8L4BO14SuYLjscIiwJVX1Ui4,1746
2
2
  locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
3
- locust/_version.py,sha256=MqNMffJ9Rx5aYBPoPU5Hc4SjY7ok_36FKagXtlj6UBg,526
3
+ locust/_version.py,sha256=kydZjgfqHjd7kK7FIvjtm-gj37ugsSWsWgXnT-yLTLo,526
4
4
  locust/argument_parser.py,sha256=ImwORtwFDe0qHP2r8kI-g0i0fbJJ8IG21hniq69kVHY,33383
5
5
  locust/clients.py,sha256=o-277lWQdpmPnoRTdf3IQVNPQT8LMFDtPtuxbLHQIIs,19286
6
6
  locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
@@ -15,7 +15,7 @@ locust/main.py,sha256=4gAGnHbaAUaPcEiImLuoyLeZ6LxNGL1cGWLET3e8h8Y,28271
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
18
- locust/stats.py,sha256=bpqpqqa-vxmKF_-qqUtiuAZkZwJbEHtjTK_cAjfOCgo,47430
18
+ locust/stats.py,sha256=1BDBENgh8iFw20boDP_xEV6PxlQqdJwKnRAe4K3YyfA,47438
19
19
  locust/web.py,sha256=I4xHIHq34F7AY-KXs9NfQ3vTqN6QX4O74KBkTUpNkhs,30471
20
20
  locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  locust/contrib/fasthttp.py,sha256=BCuKG0qpBIhXdejjPSbAMSaSd6piJtuLdx96_LWbIgI,29349
@@ -51,8 +51,8 @@ locust/webui/dist/assets/graphs-light.png,sha256=7L6pOehXqCojQclzeP91l-LskFQAw_n
51
51
  locust/webui/dist/assets/index-OsbNSvrF.js,sha256=7HLGlI9Pmknt3Nqf2hfZG7drC0jyMPi9Z5-x21F_4e8,1721633
52
52
  locust/webui/dist/assets/testruns-dark.png,sha256=np6MvpgJ2gkKQ66SOmukLtjsMtHqTSr5dNfza-2XtCo,267621
53
53
  locust/webui/dist/assets/testruns-light.png,sha256=iLAxBZh3kRsfGkcB1-1KSAbFgGji43IqiUrYuJlUoPk,276839
54
- locust-2.37.1.dev2.dist-info/METADATA,sha256=gOHRDr9murUGT3SbS_eUWS_k7QClHp6U457h7BWHvtE,9403
55
- locust-2.37.1.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
56
- locust-2.37.1.dev2.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
57
- locust-2.37.1.dev2.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
58
- locust-2.37.1.dev2.dist-info/RECORD,,
54
+ locust-2.37.1.dev4.dist-info/METADATA,sha256=UTzLJDgOXAHibIZg9PsvpbbiE-GJee-x0An1l6DEjaU,9403
55
+ locust-2.37.1.dev4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
56
+ locust-2.37.1.dev4.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
57
+ locust-2.37.1.dev4.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
58
+ locust-2.37.1.dev4.dist-info/RECORD,,