Files
MAIA/backend/tests/test_main.py
2025-04-23 01:00:56 +02:00

11 lines
299 B
Python

from fastapi.testclient import TestClient
# No database needed for this simple test
def test_health_check(client: TestClient):
"""Test the health check endpoint."""
response = client.get("/api/health")
assert response.status_code == 200
assert response.json() == {"status": "ok"}