Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/locustio/locust
/ my_task
Method
my_task
locust/test/test_debugging.py:26–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
24
class
MyUser1(HttpUser):
25
@task
26
def
my_task(self):
27
pass
28
29
def
_stop_user():
30
if
user := getattr(debug._env,
"single_user_instance"
, None):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected