left4me/l4d2web/tests/test_health.py
2026-05-05 23:47:06 +02:00

11 lines
273 B
Python

from l4d2web.app import create_app
def test_health_endpoint() -> None:
app = create_app({"TESTING": True})
client = app.test_client()
response = client.get("/health")
assert response.status_code == 200
assert response.get_json() == {"status": "ok"}