Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/locustio/locust
/ MySubTaskSet
Class
MySubTaskSet
locust/test/test_locust_class.py:298–301 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
296
host =
""
297
298
class
MySubTaskSet(MyBaseTaskSet):
299
@task
300
def
t2(self):
301
pass
302
303
l = MySubTaskSet(self.locust)
304
self.assertEqual(2, len(l.tasks))
Callers
1
test_taskset_inheritance
Method · 0.70
Calls
1
constant
Function · 0.90
Tested by
1
test_taskset_inheritance
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…