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