Miguel Grinberg
9 months ago
Failed to extract signature
2 changed files with
2 additions and
4 deletions
-
tests/async/test_admin.py
-
tests/common/test_admin.py
|
|
|
@ -21,8 +21,7 @@ def with_instrumented_server(auth=False, **ikwargs): |
|
|
|
def decorator(f): |
|
|
|
@wraps(f) |
|
|
|
def wrapped(self, *args, **kwargs): |
|
|
|
sio = socketio.AsyncServer(async_mode='asgi', ping_interval=5, |
|
|
|
ping_timeout=4) |
|
|
|
sio = socketio.AsyncServer(async_mode='asgi') |
|
|
|
|
|
|
|
@sio.event |
|
|
|
async def enter_room(sid, data): |
|
|
|
|
|
|
|
@ -18,8 +18,7 @@ def with_instrumented_server(auth=False, **ikwargs): |
|
|
|
def decorator(f): |
|
|
|
@wraps(f) |
|
|
|
def wrapped(self, *args, **kwargs): |
|
|
|
sio = socketio.Server(async_mode='threading', ping_interval=5, |
|
|
|
ping_timeout=4) |
|
|
|
sio = socketio.Server(async_mode='threading') |
|
|
|
|
|
|
|
@sio.event |
|
|
|
def enter_room(sid, data): |
|
|
|
|