1
0
Files
CommentAutomation/tests/test_health.py
2026-03-30 09:54:38 +00:00

14 lines
263 B
Python

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