Skip to content

How to maintain session while calling TestClient's request method? #1818

Answered by Kludex
jsathish asked this question in Q&A
Discussion options

You must be logged in to vote

Now the cookies can be included in the TestClient with TestClient(cookies=cookies).

Replies: 1 comment

Comment options

Kludex
Jan 11, 2023
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1817 on August 23, 2022 12:31.