- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for test_regular_function_scope (0.54 sec)
-
tests/test_dependency_yield_scope_websockets.py
assert data["named_session_open"] is True assert data["session_open"] is True assert global_state["session_closed"] is True assert global_state["named_func_session_closed"] is True def test_regular_function_scope() -> None: global_context.set({}) global_state = global_context.get() with client.websocket_connect("/regular-function-scope") as websocket: data = websocket.receive_json()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6K bytes - Viewed (0) -
tests/test_dependency_yield_scope.py
assert response.status_code == 200 data = response.json() assert data["named_session_open"] is False assert data["session_open"] is False def test_regular_function_scope() -> None: response = client.get("/regular-function-scope") assert response.status_code == 200 data = response.json() assert data["named_session_open"] is TrueRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.7K bytes - Viewed (0)