Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix(tests): use ASGI-compliant scope in auth test helper (#9926)

Shahmir Varqhae18b5e44c774
diff --git a/tests/_server/api/test_auth.py b/tests/_server/api/test_auth.py
index 454ff9f1cc..600aeaaa4c 100644
--- a/tests/_server/api/test_auth.py
+++ b/tests/_server/api/test_auth.py
@@ -104,8 +104,8 @@ def create_connection(app: Starlette) -> HTTPConnection:
{
"type": "http",
"app": app,
- "headers": {},
- "query_string": "",
+ "headers": [],
+ "query_string": b"",
"method": "GET",
"path": "/",
}