diff --git a/tests/unit/test_security/test_jwt/test_auth.py b/tests/unit/test_security/test_jwt/test_auth.py index 53a845bd38..4f93bafbde 100644 --- a/tests/unit/test_security/test_jwt/test_auth.py +++ b/tests/unit/test_security/test_jwt/test_auth.py @@ -354,7 +354,7 @@ def logout_handler(request: Request["User", Token, Any]) -> Dict[str, str]: assert response.status_code == HTTP_401_UNAUTHORIZED client.cookies.clear() - client.cookies = {auth_cookie: jwt_auth.format_auth_header(encoded_token)} + client.cookies = {auth_cookie: jwt_auth.format_auth_header(encoded_token)} # type: ignore[assignment] response = client.get("/my-endpoint") assert response.status_code == HTTP_200_OK response = client.get("/logout")