diff --git a/tests/integration/test_sources_jobs.py b/tests/integration/test_sources_jobs.py index f6c096d..a2f011e 100644 --- a/tests/integration/test_sources_jobs.py +++ b/tests/integration/test_sources_jobs.py @@ -12,9 +12,7 @@ PASSWORD = "correct-horse-battery-staple" async def login(client: httpx.AsyncClient) -> dict[str, str]: - response = await client.post( - "/api/v2/setup", json={"username": "admin", "password": PASSWORD} - ) + response = await client.post("/api/v2/setup", json={"username": "admin", "password": PASSWORD}) assert response.status_code == 201 return {"X-CSRF-Token": client.cookies["backup_tool_csrf"]} @@ -49,9 +47,7 @@ async def test_local_source_probe_archive_and_repository_targeted_job( async with app.state.engine.begin() as connection: await connection.run_sync(Base.metadata.create_all) transport = httpx.ASGITransport(app=app) - async with httpx.AsyncClient( - transport=transport, base_url="https://test" - ) as client: + async with httpx.AsyncClient(transport=transport, base_url="https://test") as client: headers = await login(client) repository = await client.post( "/api/v2/repositories",