locust 2.22.1.dev40__py3-none-any.whl → 2.22.1.dev42__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/argument_parser.py +1 -11
- {locust-2.22.1.dev40.dist-info → locust-2.22.1.dev42.dist-info}/METADATA +1 -1
- {locust-2.22.1.dev40.dist-info → locust-2.22.1.dev42.dist-info}/RECORD +8 -8
- {locust-2.22.1.dev40.dist-info → locust-2.22.1.dev42.dist-info}/LICENSE +0 -0
- {locust-2.22.1.dev40.dist-info → locust-2.22.1.dev42.dist-info}/WHEEL +0 -0
- {locust-2.22.1.dev40.dist-info → locust-2.22.1.dev42.dist-info}/entry_points.txt +0 -0
- {locust-2.22.1.dev40.dist-info → locust-2.22.1.dev42.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.22.1.
|
16
|
-
__version_tuple__ = version_tuple = (2, 22, 1, '
|
15
|
+
__version__ = version = '2.22.1.dev42'
|
16
|
+
__version_tuple__ = version_tuple = (2, 22, 1, 'dev42')
|
locust/argument_parser.py
CHANGED
@@ -101,7 +101,6 @@ def find_locustfiles(locustfiles: list[str], is_directory: bool) -> list[str]:
|
|
101
101
|
locustfiles.
|
102
102
|
|
103
103
|
Ignores files that start with _
|
104
|
-
Ignores files named locust.py
|
105
104
|
"""
|
106
105
|
file_paths = []
|
107
106
|
|
@@ -122,7 +121,7 @@ def find_locustfiles(locustfiles: list[str], is_directory: bool) -> list[str]:
|
|
122
121
|
|
123
122
|
for root, dirs, files in os.walk(locustdir):
|
124
123
|
for file in files:
|
125
|
-
if not file.startswith("_") and file.
|
124
|
+
if not file.startswith("_") and file.endswith(".py"):
|
126
125
|
file_path = os.path.join(root, file)
|
127
126
|
file_paths.append(file_path)
|
128
127
|
else:
|
@@ -130,9 +129,6 @@ def find_locustfiles(locustfiles: list[str], is_directory: bool) -> list[str]:
|
|
130
129
|
if not file_path.endswith(".py"):
|
131
130
|
sys.stderr.write(f"Invalid file '{file_path}'. File should have '.py' extension\n")
|
132
131
|
sys.exit(1)
|
133
|
-
if file_path.endswith("locust.py"):
|
134
|
-
sys.stderr.write("Invalid file 'locust.py'. File name cannot be 'locust.py'\n")
|
135
|
-
sys.exit(1)
|
136
132
|
|
137
133
|
file_paths.append(file_path)
|
138
134
|
|
@@ -244,12 +240,6 @@ def parse_locustfile_option(args=None) -> list[str]:
|
|
244
240
|
)
|
245
241
|
sys.exit(1)
|
246
242
|
|
247
|
-
if locustfile == "locust.py":
|
248
|
-
sys.stderr.write(
|
249
|
-
"The locustfile must not be named `locust.py`. Please rename the file and try again.\n"
|
250
|
-
)
|
251
|
-
sys.exit(1)
|
252
|
-
|
253
243
|
return locustfiles
|
254
244
|
|
255
245
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
locust/__init__.py,sha256=g6oA-Ba_hs3gLWVf5MKJ1mvfltI8MFnDWG8qslqm8yg,1402
|
2
2
|
locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
|
3
|
-
locust/_version.py,sha256=
|
4
|
-
locust/argument_parser.py,sha256
|
3
|
+
locust/_version.py,sha256=n3LbNiOkCtW2YLqCEDRbkM7ct3av89oaM-jQ-bPtPck,428
|
4
|
+
locust/argument_parser.py,sha256=-2nAUt99bLP9stEtMDPQ_0dAh22ltw1l5002YloXTEc,26358
|
5
5
|
locust/clients.py,sha256=o3G9welWb-zhgDUM5TKnMVFMJckr_m0FI8Dxn3OtBUA,14810
|
6
6
|
locust/debug.py,sha256=We6Z9W0btkKSc7PxWmrZx-xMynvOOsKhG6jmDgQin0g,5134
|
7
7
|
locust/dispatch.py,sha256=8FDHDzPYO5mWep3gwneKJugbdPnjMiXZjTlbICTlbA8,18606
|
@@ -97,9 +97,9 @@ locust/webui/dist/assets/favicon.ico,sha256=IUl-rYqfpHdV38e-s0bkmFIeLS-n3Ug0DQxk
|
|
97
97
|
locust/webui/dist/assets/index-e80c0bba.js,sha256=sHjeWIypoC7FRUAIdlSZS4WO6HbyMKNOoZgeQMRKu-I,1643638
|
98
98
|
locust/webui/dist/assets/index-e80c0bba.js.map,sha256=mqS1gSLx1JQ3mXlYIV9EUxLhBq8Muj1oPnZXVAQ-1r8,8772930
|
99
99
|
locust/webui/dist/assets/logo.png,sha256=lPCYhpDsPXYY3gUMlq3bzABI5WBtdBOvtay8R9hRFv4,2943
|
100
|
-
locust-2.22.1.
|
101
|
-
locust-2.22.1.
|
102
|
-
locust-2.22.1.
|
103
|
-
locust-2.22.1.
|
104
|
-
locust-2.22.1.
|
105
|
-
locust-2.22.1.
|
100
|
+
locust-2.22.1.dev42.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
|
101
|
+
locust-2.22.1.dev42.dist-info/METADATA,sha256=RYixJQz_4q7yckkbujZSJWuluSwYWy2U_HcToOrOq_0,7141
|
102
|
+
locust-2.22.1.dev42.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
103
|
+
locust-2.22.1.dev42.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
|
104
|
+
locust-2.22.1.dev42.dist-info/top_level.txt,sha256=XSsjgPA8Ggf9TqKVbkwSqZFuPlZ085X13M9orDycE20,7
|
105
|
+
locust-2.22.1.dev42.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|