Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mitmproxy/mitmproxy
/ test_intercept
Method
test_intercept
test/mitmproxy/test_http.py:736–741 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
734
assert f.error.msg == flow.Error.KILLED_MESSAGE
735
736
def
test_intercept(self):
737
f = tflow()
738
f.intercept()
739
assert f.intercepted
740
f.intercept()
741
assert f.intercepted
742
743
def
test_resume(self):
744
f = tflow()
Callers
nothing calls this directly
Calls
2
tflow
Function · 0.90
intercept
Method · 0.45
Tested by
no test coverage detected