feat(FN-002): complete Step 3 — FastAPI Backend App Skeleton

This commit is contained in:
Fusion
2026-05-14 01:31:58 +02:00
parent 79203d2f0f
commit 80f04a5c45
12 changed files with 148 additions and 0 deletions
View File
+14
View File
@@ -0,0 +1,14 @@
from fastapi.testclient import TestClient
from app.config import settings
from app.main import app
client = TestClient(app)
def test_health_returns_ok() -> None:
response = client.get("/health")
assert response.status_code == 200
data = response.json()
assert data["status"] == "ok"
assert data["service"] == settings.app_name