Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mitmproxy/mitmproxy
/ test_kill
Function
test_kill
test/mitmproxy/addons/test_core.py:47–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
46
47
def
test_kill():
48
sa = core.Core()
49
with
taddons.context(loadcore=False):
50
f = tflow.tflow()
51
f.intercept()
52
assert f.killable
53
sa.kill([f])
54
assert not f.killable
55
56
57
def
test_revert():
Callers
nothing calls this directly
Calls
3
kill
Method · 0.95
context
Method · 0.80
intercept
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…