diff --git a/test/mitmproxy/addons/test_intercept.py b/test/mitmproxy/addons/test_intercept.py index efdac3744..5178cb972 100644 --- a/test/mitmproxy/addons/test_intercept.py +++ b/test/mitmproxy/addons/test_intercept.py @@ -36,3 +36,8 @@ def test_simple(): f = tflow.tflow(resp=False) tctx.cycle(r, f) assert not f.intercepted + + f = tflow.tflow(resp=True) + f.reply._state = "handled" + r.response(f) + assert f.intercepted \ No newline at end of file