diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-05-18 08:46:56 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-05-18 09:51:56 +1200 |
commit | 064929b559fffb2572b2213c00e82e6fa3e69ef6 (patch) | |
tree | 4a0f9699c67cb065d248c2efb8d4d1943611b5e2 /test | |
parent | aae06c96dde92757d469e2998163d3dab8a8e617 (diff) | |
download | mitmproxy-064929b559fffb2572b2213c00e82e6fa3e69ef6.tar.gz mitmproxy-064929b559fffb2572b2213c00e82e6fa3e69ef6.tar.bz2 mitmproxy-064929b559fffb2572b2213c00e82e6fa3e69ef6.zip |
clientreplay: fix racy tests harder
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/addons/test_clientplayback.py | 3 |
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 |