This is a backport of Starlette's TestClient using requests instead of httpx.
The reason behind here is to give more time for people to migrate.
pip install starlette-testclientYou just need to replace the import statement from:
from starlette.testclient import TestClientto:
from starlette_testclient import TestClientEasy, right? 😅
This project is licensed under the terms of the BSD 3-Clause license.