locust 2.24.1.dev8__py3-none-any.whl → 2.24.1.dev18__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
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2.24.1.dev8'
16
- __version_tuple__ = version_tuple = (2, 24, 1, 'dev8')
15
+ __version__ = version = '2.24.1.dev18'
16
+ __version_tuple__ = version_tuple = (2, 24, 1, 'dev18')
locust/argument_parser.py CHANGED
@@ -293,7 +293,7 @@ def download_locustfile_from_master(master_host: str, master_port: int) -> str:
293
293
  sys.exit(1)
294
294
 
295
295
  filename = msg.data["filename"]
296
- with open(os.path.join(tempfile.gettempdir(), filename), "w") as locustfile:
296
+ with open(os.path.join(tempfile.gettempdir(), filename), "w", encoding="utf-8") as locustfile:
297
297
  locustfile.write(msg.data["contents"])
298
298
 
299
299
  def exit_handler():
locust/stats.py CHANGED
@@ -1041,7 +1041,7 @@ class StatsCSV:
1041
1041
 
1042
1042
 
1043
1043
  class StatsCSVFileWriter(StatsCSV):
1044
- """Write statistics to to CSV files"""
1044
+ """Write statistics to CSV files"""
1045
1045
 
1046
1046
  def __init__(
1047
1047
  self,
@@ -131,7 +131,7 @@
131
131
  {{key}}<br>
132
132
  {% endif %}
133
133
  {% endfor %}
134
- <button type="submit">Start swarming</button>
134
+ <button type="submit">Start</button>
135
135
  </form>
136
136
  <div style="clear:right;margin-bottom: 60px;"></div>
137
137
  </div>
@@ -156,9 +156,9 @@
156
156
  <input type="text" name="spawn_rate" id="new_spawn_rate" class="val" value="{{ spawn_rate or "1" }}" onfocus="this.select()"/><br>
157
157
  {% endif %}
158
158
  {% if hide_common_options %}
159
- <button type="submit" disabled>Start swarming</button>
159
+ <button type="submit" disabled>Start</button>
160
160
  {% else %}
161
- <button type="submit">Start swarming</button>
161
+ <button type="submit">Start</button>
162
162
  {% endif %}
163
163
  </form>
164
164
  <div style="clear:right;"></div>