There was an error while loading. Please reload this page.
1 parent 34cabd5 commit 82097e9Copy full SHA for 82097e9
tests/conftest.py
@@ -69,5 +69,5 @@ def app(override_db_session: Callable) -> FastAPI:
69
@pytest.fixture()
70
async def client(app: FastAPI) -> AsyncClient:
71
"""Return a client for testing the app."""
72
- async with AsyncClient(app=app, base_url='http://testserver') as ac:
+ async with AsyncClient(app=app, base_url='http://testserver', follow_redirects=True) as ac:
73
yield ac
0 commit comments