MCPcopy
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_functionMethod · 0.95
test_betweenMethod · 0.45
test_constantMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected