locust 2.26.1.dev69__py3-none-any.whl → 2.27.0__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 +2 -2
- locust/contrib/fasthttp.py +1 -1
- locust/main.py +2 -2
- locust/runners.py +2 -2
- {locust-2.26.1.dev69.dist-info → locust-2.27.0.dist-info}/METADATA +1 -1
- {locust-2.26.1.dev69.dist-info → locust-2.27.0.dist-info}/RECORD +10 -10
- {locust-2.26.1.dev69.dist-info → locust-2.27.0.dist-info}/LICENSE +0 -0
- {locust-2.26.1.dev69.dist-info → locust-2.27.0.dist-info}/WHEEL +0 -0
- {locust-2.26.1.dev69.dist-info → locust-2.27.0.dist-info}/entry_points.txt +0 -0
- {locust-2.26.1.dev69.dist-info → locust-2.27.0.dist-info}/top_level.txt +0 -0
locust/_version.py
CHANGED
@@ -12,5 +12,5 @@ __version__: str
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
13
13
|
version_tuple: VERSION_TUPLE
|
14
14
|
|
15
|
-
__version__ = version = '2.
|
16
|
-
__version_tuple__ = version_tuple = (2,
|
15
|
+
__version__ = version = '2.27.0'
|
16
|
+
__version_tuple__ = version_tuple = (2, 27, 0)
|
locust/contrib/fasthttp.py
CHANGED
@@ -335,7 +335,7 @@ class FastHttpUser(User):
|
|
335
335
|
|
336
336
|
_callstack_regex = re.compile(r' File "(\/.[^"]*)", line (\d*),(.*)')
|
337
337
|
|
338
|
-
def __init__(self, environment):
|
338
|
+
def __init__(self, environment) -> None:
|
339
339
|
super().__init__(environment)
|
340
340
|
if self.host is None:
|
341
341
|
raise LocustError(
|
locust/main.py
CHANGED
@@ -411,8 +411,8 @@ See https://github.com/locustio/locust/wiki/Installation#increasing-maximum-numb
|
|
411
411
|
if options.worker:
|
412
412
|
logger.error("The --master argument cannot be combined with --worker")
|
413
413
|
sys.exit(-1)
|
414
|
-
if options.
|
415
|
-
logger.error("
|
414
|
+
if options.expect_workers < 1:
|
415
|
+
logger.error(f"Invalid --expect-workers argument ({options.expect_workers}), must be a positive number")
|
416
416
|
sys.exit(-1)
|
417
417
|
runner = environment.create_master_runner(
|
418
418
|
master_bind_host=options.master_bind_host,
|
locust/runners.py
CHANGED
@@ -596,7 +596,7 @@ class WorkerNode:
|
|
596
596
|
|
597
597
|
|
598
598
|
class WorkerNodes(MutableMapping):
|
599
|
-
def __init__(self):
|
599
|
+
def __init__(self) -> None:
|
600
600
|
self._worker_nodes: dict[str, WorkerNode] = {}
|
601
601
|
|
602
602
|
def get_by_state(self, state) -> list[WorkerNode]:
|
@@ -648,7 +648,7 @@ class MasterRunner(DistributedRunner):
|
|
648
648
|
:class:`WorkerRunners <WorkerRunner>` will aggregated.
|
649
649
|
"""
|
650
650
|
|
651
|
-
def __init__(self, environment, master_bind_host, master_bind_port):
|
651
|
+
def __init__(self, environment, master_bind_host, master_bind_port) -> None:
|
652
652
|
"""
|
653
653
|
:param environment: Environment instance
|
654
654
|
:param master_bind_host: Host/interface to use for incoming worker connections
|
@@ -1,6 +1,6 @@
|
|
1
1
|
locust/__init__.py,sha256=g6oA-Ba_hs3gLWVf5MKJ1mvfltI8MFnDWG8qslqm8yg,1402
|
2
2
|
locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
|
3
|
-
locust/_version.py,sha256=
|
3
|
+
locust/_version.py,sha256=vkYXgVuvNk95khotVUCWC2ZuRgmRVBQCyElfrt6rGnE,413
|
4
4
|
locust/argument_parser.py,sha256=izMXLuMZWUpS6m8SrGRmOjLfPPuYWXCvQFicRmn-a90,28774
|
5
5
|
locust/clients.py,sha256=YKuAyMAbxs8_-w7XJw0hc67KFBNNLxibsw6FwiS01Q8,14781
|
6
6
|
locust/debug.py,sha256=We6Z9W0btkKSc7PxWmrZx-xMynvOOsKhG6jmDgQin0g,5134
|
@@ -11,14 +11,14 @@ locust/exception.py,sha256=jGgJ32ubuf4pWdlaVOkbh2Y0LlG0_DHi-lv3ib8ppOE,1791
|
|
11
11
|
locust/html.py,sha256=f0coiIkRXSRV-MSLPhxLDT3xjmoqQxUxbAGtmDcPMXI,5754
|
12
12
|
locust/input_events.py,sha256=ZIyePyAMuA_YFYWg18g_pE4kwuQV3RbEB250MzXRwjY,3314
|
13
13
|
locust/log.py,sha256=2IVp9YL4ZPfWdj3sBFuOHfgneg3g7m7tUGR-sy2s3E8,3155
|
14
|
-
locust/main.py,sha256=
|
14
|
+
locust/main.py,sha256=LooX1HPmUd6TKxV-p3xrWTMkPUoU5LtIGVPQvPMPT6U,28111
|
15
15
|
locust/py.typed,sha256=gkWLl8yD4mIZnNYYAIRM8g9VarLvWmTAFeUfEbxJLBw,65
|
16
|
-
locust/runners.py,sha256=
|
16
|
+
locust/runners.py,sha256=Go8b8fpOAfFy6JuNcot7KyguHuExA6eoPHVmcgx3RoI,67813
|
17
17
|
locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
|
18
18
|
locust/stats.py,sha256=l2cxxVre8dvA4MIOD_ZKNj_fYySz5gTGC2f9Rc4-CL0,46134
|
19
19
|
locust/web.py,sha256=zj0Lm3tQq0MhbeJ1oKROnvauNibwUSBXsTehw2q2nAA,28251
|
20
20
|
locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
|
-
locust/contrib/fasthttp.py,sha256=
|
21
|
+
locust/contrib/fasthttp.py,sha256=vByPepw35DF84qZ2xK89yHgjOA_8btV0wig_rSR6p4g,26757
|
22
22
|
locust/rpc/__init__.py,sha256=nVGoHWFQxZjnhCDWjbgXIbmFbN9sizAjkhvSs9_642c,58
|
23
23
|
locust/rpc/protocol.py,sha256=n-rb3GZQcAlldYDj4E4GuFGylYj_26GSS5U29meft5Y,1282
|
24
24
|
locust/rpc/zmqrpc.py,sha256=7DLIXzkQr7992zmZwAqNgcqzm7LOQAOQtz0tUGv5-Gg,2637
|
@@ -95,9 +95,9 @@ locust/webui/dist/report.html,sha256=sOdZZVgZbqgu86BBCSQf3uQUYXgmgSnXF32JpnyAII8
|
|
95
95
|
locust/webui/dist/assets/favicon.ico,sha256=IUl-rYqfpHdV38e-s0bkmFIeLS-n3Ug0DQxk-h202hI,8348
|
96
96
|
locust/webui/dist/assets/index-941b6e82.js,sha256=G3n5R81Svt0HzbWaV3AV20jLWGLr4X50UZ-Adu2KcxU,1645614
|
97
97
|
locust/webui/dist/assets/logo.png,sha256=EIVPqr6wE_yqguHaqFHIsH0ZACLSrvNWyYO7PbyIj4w,19299
|
98
|
-
locust-2.
|
99
|
-
locust-2.
|
100
|
-
locust-2.
|
101
|
-
locust-2.
|
102
|
-
locust-2.
|
103
|
-
locust-2.
|
98
|
+
locust-2.27.0.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
|
99
|
+
locust-2.27.0.dist-info/METADATA,sha256=rgvv8R6VL0Mgxks71BzEI1tx76m1MiSjfmUAV_KjC80,7261
|
100
|
+
locust-2.27.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
101
|
+
locust-2.27.0.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
|
102
|
+
locust-2.27.0.dist-info/top_level.txt,sha256=XSsjgPA8Ggf9TqKVbkwSqZFuPlZ085X13M9orDycE20,7
|
103
|
+
locust-2.27.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|