Skip to content

Commit

Permalink
fix(jwt): fixed type error on test_auth
Browse files Browse the repository at this point in the history
  • Loading branch information
oek1ng authored Jan 20, 2025
1 parent fc35451 commit 0e1f357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_security/test_jwt/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0e1f357

Please sign in to comment.