MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_resume_duplicated

Method test_resume_duplicated

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

Source from the content-addressed store, hash-verified

777 await f.wait_for_resume()
778
779 def test_resume_duplicated(self):
780 f = tflow()
781 f.intercept()
782 f2 = f.copy()
783 assert f.intercepted is f2.intercepted is True
784 f.resume()
785 f2.resume()
786 assert f.intercepted is f2.intercepted is False
787
788 def test_timestamp_start(self):
789 f = tflow()

Callers

nothing calls this directly

Calls 4

tflowFunction · 0.90
interceptMethod · 0.45
copyMethod · 0.45
resumeMethod · 0.45

Tested by

no test coverage detected