Skip to content

Commit 4c31b34

Browse files
committed
fake server: fix tests after adding logging to state
1 parent 62a2c01 commit 4c31b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_prerecorded.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def sendBytesStub(_: bytes):
122122
config.outDir = output_directory
123123

124124
# replay_transport = FileLayer(output_path)
125-
state = RDPMITMState(config, log.sessionID)
125+
state = RDPMITMState(config, log.sessionID, lambda name : log.createChild(name))
126126
super().__init__(log, log, config, state, CustomMITMRecorder([], state))
127127

128128
self.client.tcp.sendBytes = sendBytesStub

0 commit comments

Comments
 (0)