Skip to content

Commit

Permalink
Fix HTTPX depreciation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Oct 13, 2024
1 parent 4f6ced5 commit db5900d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_integrations_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async def get_current_user_permission(
@pytest_asyncio.fixture
async def test_client(fastapi_app: FastAPI) -> AsyncGenerator[httpx.AsyncClient, None]:
async with httpx.AsyncClient(
app=fastapi_app, base_url="http://api.bretagne.duchy"
transport=httpx.ASGITransport(fastapi_app), base_url="http://api.bretagne.duchy"
) as test_client:
yield test_client

Expand Down

0 comments on commit db5900d

Please sign in to comment.