mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-05-28 06:45:50 +08:00
fix tests
This commit is contained in:
@@ -191,7 +191,7 @@ class ClientPlaybackState:
|
||||
testing: Disables actual replay for testing.
|
||||
"""
|
||||
if self.flows and not self.current:
|
||||
n = self.flows.pop(0)
|
||||
n = self.flows.pop(0).copy()
|
||||
n.response = None
|
||||
n.reply = controller.DummyReply()
|
||||
self.current = master.handle_request(n)
|
||||
|
||||
Reference in New Issue
Block a user