-
I am using pytest and FastAPI's TestClient.
Currently my test cases fail because TestClient's request method is overriding the session cookies. |
Beta Was this translation helpful? Give feedback.
Answered by
Kludex
Jan 11, 2023
Replies: 1 comment
-
Now the cookies can be included in the TestClient with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Kludex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now the cookies can be included in the TestClient with
TestClient(cookies=cookies)
.