Spaces:
Sleeping
Sleeping
File size: 294 Bytes
d02cfdb | 1 2 3 4 5 6 7 8 9 10 11 12 13 | from fastapi.testclient import TestClient
from calender_en.server.app import app
def test_health_endpoint_returns_healthy() -> None:
client = TestClient(app)
response = client.get("/health")
assert response.status_code == 200
assert response.json() == {"status":"healthy"}
|