Files
ElebobaandClaude Opus 5.5 107b8dba51
CI / ruff · pytest (pull_request) Successful in 1m50s
chore(devops): project skeleton — uv, docker compose, Makefile, CI
One Postgres with isolated identity/clinical databases and roles (ADR-003),
FastAPI /health, Streamlit placeholder, typed settings with offline defaults.

Refs #1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:46:01 +03:00

16 lines
390 B
Python

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