locust 2.32.11.dev22__py3-none-any.whl → 2.33.1__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.32.11.dev22'
21
- __version_tuple__ = version_tuple = (2, 32, 11, 'dev22')
20
+ __version__ = version = '2.33.1'
21
+ __version_tuple__ = version_tuple = (2, 33, 1)
locust/html.py CHANGED
@@ -16,22 +16,14 @@ DEFAULT_BUILD_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "w
16
16
 
17
17
 
18
18
  def process_html_filename(options) -> None:
19
- num_users = options.num_users
20
- spawn_rate = options.spawn_rate
21
- run_time = options.run_time
22
-
23
19
  option_mapping = {
24
- "{u}": num_users,
25
- "{r}": spawn_rate,
26
- "{t}": run_time,
20
+ "{u}": options.num_users,
21
+ "{r}": options.spawn_rate,
22
+ "{t}": options.run_time,
27
23
  }
28
-
29
- html_filename = options.html_file
30
-
31
24
  for option_term, option_value in option_mapping.items():
32
- html_filename = html_filename.replace(option_term, str(int(option_value)))
33
-
34
- options.html_file = html_filename
25
+ if option_value is not None:
26
+ options.html_file = options.html_file.replace(option_term, str(int(option_value)))
35
27
 
36
28
 
37
29
  def render_template_from(file, build_path=DEFAULT_BUILD_PATH, **kwargs):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust
3
- Version: 2.32.11.dev22
3
+ Version: 2.33.1
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=QsPFuLpQPDt7TUQdBNcVxEH7fcEbeXvADplvmyNZrBQ,530
3
+ locust/_version.py,sha256=_-h2TbFynyxnSK6StrWYIwJ15mskfGPqfSbDuP4veUw,513
4
4
  locust/argument_parser.py,sha256=ruSJcY4ouERwVopHvHDK-obQD6nlRKDqjLLwje2SH9k,32806
5
5
  locust/clients.py,sha256=LHAYjaoRjMXwdOB8KBUYRH9-8Uk4F8NvUsDy5UTxKkA,19352
6
6
  locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
@@ -8,7 +8,7 @@ locust/dispatch.py,sha256=prdwtb9EoN4A9klgiKgWuwQmvFB8hEuFHOK6ot62AJI,16202
8
8
  locust/env.py,sha256=UgR85CbbMXjhsbrMO8cx--ubdzEwuM2WZtY8DFMHHho,13065
9
9
  locust/event.py,sha256=AWoeG2q11Vpupv1eW9Rf2N0EI4dDDAldKe6zY1ajC7I,8717
10
10
  locust/exception.py,sha256=jGgJ32ubuf4pWdlaVOkbh2Y0LlG0_DHi-lv3ib8ppOE,1791
11
- locust/html.py,sha256=vaRC-g5xzDwHRvzB1-YuqTNyfCekfpGDHi_g5yF_THg,4120
11
+ locust/html.py,sha256=4g0LxqwU6phtu4WpmqvZROsz3LTvSWaq5oYIbrs7Rls,4011
12
12
  locust/input_events.py,sha256=ZIyePyAMuA_YFYWg18g_pE4kwuQV3RbEB250MzXRwjY,3314
13
13
  locust/log.py,sha256=5E2ZUOa3V4sfCqa-470Gle1Ik9L5nxYitsjEB9tRwE0,3455
14
14
  locust/main.py,sha256=LHqxXz8MBueEmMghUPzK-N9MDCnvY0mCy-Ef7MsIPYI,27910
@@ -50,8 +50,8 @@ locust/webui/dist/assets/graphs-light.png,sha256=7L6pOehXqCojQclzeP91l-LskFQAw_n
50
50
  locust/webui/dist/assets/index-Bcn8JR9P.js,sha256=QycCyvTfa3JplzdV531CbVaklRIPdg9t9LYtHU5RtEU,1679417
51
51
  locust/webui/dist/assets/testruns-dark.png,sha256=np6MvpgJ2gkKQ66SOmukLtjsMtHqTSr5dNfza-2XtCo,267621
52
52
  locust/webui/dist/assets/testruns-light.png,sha256=iLAxBZh3kRsfGkcB1-1KSAbFgGji43IqiUrYuJlUoPk,276839
53
- locust-2.32.11.dev22.dist-info/METADATA,sha256=otq8jstVQPJQPFksK_wFE94cQn0AobUubQXk0JmbmgU,9639
54
- locust-2.32.11.dev22.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
55
- locust-2.32.11.dev22.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
56
- locust-2.32.11.dev22.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
57
- locust-2.32.11.dev22.dist-info/RECORD,,
53
+ locust-2.33.1.dist-info/METADATA,sha256=WfNaHvr8TQhEXpHH9pWB_fnrie3JhhmKww8a7BqDnRo,9632
54
+ locust-2.33.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
55
+ locust-2.33.1.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
56
+ locust-2.33.1.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
57
+ locust-2.33.1.dist-info/RECORD,,