fix(test): FastAPI 0.87.0 - Fixing tests
Fixing the test suite for the new httpx based TestClient introduced with FastAPI 0.87.0
-
allow_redirects
is deprecated and replaced byfollow_redirects
- cookies need to be defined on request instance instead of being passed in the method calls
References:
https://fastapi.tiangolo.com/release-notes/#0870
https://github.com/encode/starlette/pull/1376
Signed-off-by: moson-mo mo-son@mailbox.org
Edited by Mario Oenning