feat(FN-004): merge fusion/fn-004

This commit is contained in:
Fusion
2026-05-14 06:47:30 +02:00
parent 4cbd30ff42
commit 3a18a1f170
62 changed files with 2567 additions and 11 deletions
+6 -6
View File
@@ -1,14 +1,14 @@
from fastapi.testclient import TestClient
import pytest
from httpx import AsyncClient
from app.config import settings
from app.main import app
client = TestClient(app)
def test_health_returns_ok() -> None:
response = client.get("/health")
@pytest.mark.asyncio
async def test_health_returns_ok(client: AsyncClient) -> None:
response = await client.get("/health")
assert response.status_code == 200
data = response.json()
assert data["status"] == "ok"
assert data["service"] == settings.app_name
assert data["database"] == "connected"