MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_resume

Method test_resume

test/mitmproxy/test_http.py:743–750  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

741 assert f.intercepted
742
743 def test_resume(self):
744 f = tflow()
745 f.resume()
746 assert not f.intercepted
747 f.intercept()
748 assert f.intercepted
749 f.resume()
750 assert not f.intercepted
751
752 async def test_wait_for_resume(self):
753 f = tflow()

Callers

nothing calls this directly

Calls 3

tflowFunction · 0.90
resumeMethod · 0.45
interceptMethod · 0.45

Tested by

no test coverage detected