1
0
Files
CommentAutomation/tests/test_health.py

13 lines
262 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"}