code lint

This commit is contained in:
grillazz 2021-11-27 19:14:34 +01:00
parent a8458be925
commit 14145d952f
2 changed files with 4 additions and 3 deletions

View File

@ -6,6 +6,7 @@ from httpx import AsyncClient
pytestmark = pytest.mark.anyio
@pytest.mark.parametrize(
"payload, status_code",
(

View File

@ -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