fix(auth): persist sessions and lock remote setup

This commit is contained in:
2026-07-27 21:01:04 +02:00
parent 5cbd5b836c
commit 175a550c7b
4 changed files with 19 additions and 8 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ def make_settings(tmp_path: Path) -> Any:
local_source_roots=(sources,),
restore_roots=(restores,),
master_key_file=key,
public_base_url="https://testserver",
public_base_url="https://127.0.0.1:8000",
)
@@ -42,7 +42,7 @@ async def app_client(tmp_path: Path) -> AsyncIterator[tuple[AsyncClient, Any]]:
app_module = importlib.import_module("backup_tool.api.app")
app = app_module.create_app(settings)
async with AsyncClient(
transport=ASGITransport(app=app), base_url="https://testserver"
transport=ASGITransport(app=app), base_url="https://127.0.0.1:8000"
) as client:
yield client, settings
await app.state.engine.dispose()