diff --git a/tests/api/test_stuff.py b/tests/api/test_stuff.py index c0656db..3b99fa3 100644 --- a/tests/api/test_stuff.py +++ b/tests/api/test_stuff.py @@ -6,6 +6,7 @@ from httpx import AsyncClient pytestmark = pytest.mark.anyio + @pytest.mark.parametrize( "payload, status_code", ( diff --git a/tests/conftest.py b/tests/conftest.py index 68e9243..a844f3a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -51,9 +51,9 @@ async def start_db(): @pytest.fixture async def client() -> AsyncClient: async with AsyncClient( - app=app, - base_url="http://testserver/v1", - headers={"Content-Type": "application/json"}, + app=app, + base_url="http://testserver/v1", + headers={"Content-Type": "application/json"}, ) as client: await start_db() yield client