update dummy socket

This commit is contained in:
Alberto Xamin 2023-01-25 18:36:48 +00:00
parent 4f08874c9a
commit 9487a59750

View File

@ -8,4 +8,7 @@ class DummySocket():
if self.true_sio and event == 'chat_message': if self.true_sio and event == 'chat_message':
self.true_sio.emit(event, data, to, room, skip_sid, namespace, callback, **kwargs) self.true_sio.emit(event, data, to, room, skip_sid, namespace, callback, **kwargs)
return True return True
def sleep(self, seconds):
return seconds
is_fake = True is_fake = True