Files
ARC/backend/tests/test_health.py

10 lines
238 B
Python
Raw Permalink Normal View History

2026-06-12 18:16:58 +02:00
from fastapi.testclient import TestClient
from app.main import app
client = TestClient(app)
def test_health():
response = client.get("/api/health")
assert response.status_code == 200
assert response.json()["status"] == "ok"