Files
hot_comment_radar/tests/integration/test_health.py
T

13 lines
254 B
Python

from fastapi.testclient import TestClient
from app.main import app
def test_health_returns_ok():
client = TestClient(app)
response = client.get("/health")
assert response.status_code == 200
assert response.json() == {"status": "ok"}