Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mitmproxy/mitmproxy
/ test_command
Function
test_command
test/mitmproxy/test_addonmanager.py:67–70 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
66
67
def
test_command():
68
with
taddons.context()
as
tctx:
69
tctx.master.addons.add(TAddon(
"test"
))
70
assert tctx.master.commands.execute(
"test.command"
) ==
"here"
71
72
73
async
def
test_halt():
Callers
nothing calls this directly
Calls
4
context
Method · 0.80
execute
Method · 0.80
TAddon
Class · 0.70
add
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…