diff --git a/examples/miniapps/fastapi/giphynavigator/tests.py b/examples/miniapps/fastapi/giphynavigator/tests.py index 2b57d50d..05b2addf 100644 --- a/examples/miniapps/fastapi/giphynavigator/tests.py +++ b/examples/miniapps/fastapi/giphynavigator/tests.py @@ -3,13 +3,14 @@ from unittest import mock import pytest +import pytest_asyncio from httpx import AsyncClient from giphynavigator.application import app from giphynavigator.giphy import GiphyClient -@pytest.fixture +@pytest_asyncio.fixture async def client(): async with AsyncClient(app=app, base_url="http://test") as client: yield client