Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/locustio/locust
/ wait_time
Method
wait_time
locust/test/test_locust_class.py:337–338 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
335
b = 2
336
337
def
wait_time(self):
338
return
1 + (self.b - self.a)
339
340
taskset = MyTaskSet(self.locust)
341
self.assertEqual(taskset.wait_time(), 2.0)
Callers
5
test_wait_function
Method · 0.95
test_between
Method · 0.45
test_constant
Method · 0.45
test_default_wait_time
Method · 0.45
test_constant_throughput
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected