aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/mitmproxy/addons/test_clientplayback.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mitmproxy/addons/test_clientplayback.py b/test/mitmproxy/addons/test_clientplayback.py
index 8a160f0d..1929ee3d 100644
--- a/test/mitmproxy/addons/test_clientplayback.py
+++ b/test/mitmproxy/addons/test_clientplayback.py
@@ -57,6 +57,9 @@ class TBase(tservers.HTTPProxyTest):
assert l.response.status_code == 304
l.request.path = "/p/305"
l.response = None
+ l.live = False
+ l.intercepted = False
+
cr.start_replay([l])
self.wait_response(l)
assert l.response.status_code == 305