fix(auth): persist sessions and lock remote setup
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user