Skip to content

Commit 61a9cc6

Browse files
committed
removed deprecation
1 parent 0f62a9d commit 61a9cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/director-v2/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async def initialized_app(mock_env: EnvVarsDict) -> AsyncIterable[FastAPI]:
218218
@pytest.fixture()
219219
async def async_client(initialized_app: FastAPI) -> AsyncIterable[httpx.AsyncClient]:
220220
async with httpx.AsyncClient(
221-
app=initialized_app,
221+
transport=httpx.ASGITransport(app=initialized_app),
222222
base_url="http://director-v2.testserver.io",
223223
headers={"Content-Type": "application/json"},
224224
) as client:

0 commit comments

Comments
 (0)