locust 2.37.15.dev7__py3-none-any.whl → 2.37.15.dev12__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.15.dev7'
21
- __version_tuple__ = version_tuple = (2, 37, 15, 'dev7')
20
+ __version__ = version = '2.37.15.dev12'
21
+ __version_tuple__ = version_tuple = (2, 37, 15, 'dev12')
locust/web.py CHANGED
@@ -290,6 +290,12 @@ class WebUI:
290
290
  parsed_options_dict[key] = value == "true"
291
291
  elif parsed_options_value is None:
292
292
  parsed_options_dict[key] = value
293
+ elif isinstance(parsed_options_value, list):
294
+ value_as_list = value.split(",")
295
+ if all(isinstance(x, int) for x in parsed_options_value):
296
+ parsed_options_dict[key] = list(map(int, value_as_list))
297
+ else:
298
+ parsed_options_dict[key] = value_as_list
293
299
  else:
294
300
  parsed_options_dict[key] = type(parsed_options_value)(value)
295
301
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: locust
3
- Version: 2.37.15.dev7
3
+ Version: 2.37.15.dev12
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=xdO93xwYId0ZiTA76bU7lyHT6X7hRkjS7xU7cGBCW1w,528
3
+ locust/_version.py,sha256=_YlubE9gTCHP091wm4_Af7DV6i7rfcKVTF2vY3UsFDc,530
4
4
  locust/argument_parser.py,sha256=oO2Hi13tp_vRqOCQoA44l9qwP1Zeg-0KcnkynvwDqBM,33083
5
5
  locust/clients.py,sha256=o-277lWQdpmPnoRTdf3IQVNPQT8LMFDtPtuxbLHQIIs,19286
6
6
  locust/debug.py,sha256=7CCm8bIg44uGH2wqBlo1rXBzV2VzwPicLxLewz8r5CQ,5099
@@ -16,7 +16,7 @@ locust/py.typed,sha256=gkWLl8yD4mIZnNYYAIRM8g9VarLvWmTAFeUfEbxJLBw,65
16
16
  locust/runners.py,sha256=niYmGsfOpxMfVmTXGod4MYTefpaZ2wirFlhqxRw5mq4,70617
17
17
  locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
18
18
  locust/stats.py,sha256=qyoSKT0i7RunLDj5pMGqizK1Sp8bcqUsXwh2m4_DpR8,47203
19
- locust/web.py,sha256=8rkc7aKhh9IkPdw-oZIxopJtOU8mnKh5iIKNx9VD5Cg,31461
19
+ locust/web.py,sha256=HLFN9jUtKG3sMIKu_Xw9wtvTAFxXvzDHdtLtfb_JxUQ,31849
20
20
  locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  locust/contrib/fasthttp.py,sha256=04rnf4kxRxVbzOyqDlb-io43dWIyMPMUwmQ7DOFo2Lo,29656
22
22
  locust/contrib/mongodb.py,sha256=1seUYgJOaNKwybYOP9PUEVhgl8hGy-G33f8lFj3R8W8,1246
@@ -52,8 +52,8 @@ locust/webui/dist/assets/index-WplK3h0d.js,sha256=DbHI-zvMirYSuqu826NB8euV0N9dWQ
52
52
  locust/webui/dist/assets/terminal.gif,sha256=iw80LO2u0dnf4wpGfFJZauBeKTcSpw9iUfISXT2nEF4,75302
53
53
  locust/webui/dist/assets/testruns-dark.png,sha256=G4p2VZSBuuqF4neqUaPSshIp5OKQJ_Bvb69Luj6XuVs,125231
54
54
  locust/webui/dist/assets/testruns-light.png,sha256=JinGDiiBPOkhpfF-XCbmQqhRInqItrjrBTLKt5MlqVI,130301
55
- locust-2.37.15.dev7.dist-info/METADATA,sha256=xteZNned_xylzNSYuEC79BnsHQONqtghaRz8eCC0QL4,9404
56
- locust-2.37.15.dev7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
57
- locust-2.37.15.dev7.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
58
- locust-2.37.15.dev7.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
59
- locust-2.37.15.dev7.dist-info/RECORD,,
55
+ locust-2.37.15.dev12.dist-info/METADATA,sha256=toecH0e_K9k4wMv2Wx50c-Y13cijcu8HW-kScTVIlfA,9405
56
+ locust-2.37.15.dev12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
57
+ locust-2.37.15.dev12.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
58
+ locust-2.37.15.dev12.dist-info/licenses/LICENSE,sha256=5hnz-Vpj0Z3kSCQl0LzV2hT1TLc4LHcbpBp3Cy-EuyM,1110
59
+ locust-2.37.15.dev12.dist-info/RECORD,,