from fastapi.testclient import TestClient from app.config import Settings from app.main import app def test_health() -> None: with TestClient(app) as client: assert client.get("/health").json() == {"status": "ok"} def test_offline_defaults() -> None: settings = Settings(_env_file=None) assert settings.llm_provider == "mock" assert settings.demo_clock is True