forked from LiveCarta/CommentAutomation
14 lines
263 B
Python
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"}
|