From 14145d952f8c055fb1b0e9dcb5c2ec2705516e7e Mon Sep 17 00:00:00 2001 From: grillazz Date: Sat, 27 Nov 2021 19:14:34 +0100 Subject: [PATCH] code lint --- tests/api/test_stuff.py | 1 + tests/conftest.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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