fix tests
This commit is contained in:
parent
2335d00c1c
commit
a325ae638b
|
@ -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)
|
||||
|
|
|
@ -692,7 +692,8 @@ class TestFlowMaster:
|
|||
|
||||
f = tutils.tflow(resp=True)
|
||||
pb = [tutils.tflow(resp=True), f]
|
||||
fm = flow.FlowMaster(None, s)
|
||||
|
||||
fm = flow.FlowMaster(DummyServer(ProxyConfig()), s)
|
||||
assert not fm.start_server_playback(pb, False, [], False, False, None, False)
|
||||
assert not fm.start_client_playback(pb, False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue