diff --git a/tests/docker/asgi_framework_compat/frameworks/quart_app/app.py b/tests/docker/asgi_framework_compat/frameworks/quart_app/app.py index 83822a63..d429a32e 100644 --- a/tests/docker/asgi_framework_compat/frameworks/quart_app/app.py +++ b/tests/docker/asgi_framework_compat/frameworks/quart_app/app.py @@ -206,5 +206,5 @@ async def ws_close(): if param.startswith("code="): code = int(param.split("=")[1]) break - # Quart uses a different close mechanism + await websocket.accept() await websocket.close(code)