We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f62a9d commit 61a9cc6Copy full SHA for 61a9cc6
services/director-v2/tests/conftest.py
@@ -218,7 +218,7 @@ async def initialized_app(mock_env: EnvVarsDict) -> AsyncIterable[FastAPI]:
218
@pytest.fixture()
219
async def async_client(initialized_app: FastAPI) -> AsyncIterable[httpx.AsyncClient]:
220
async with httpx.AsyncClient(
221
- app=initialized_app,
+ transport=httpx.ASGITransport(app=initialized_app),
222
base_url="http://director-v2.testserver.io",
223
headers={"Content-Type": "application/json"},
224
) as client:
0 commit comments