110:def api(test_app):
111:    """Fresh TestClient with a clean database and one registered+logged-in user."""
112:    from fastapi.testclient import TestClient
126:    with TestClient(test_app) as client:
166:    from fastapi.testclient import TestClient
168:    with TestClient(test_app) as client:
