Files
ea-chatbot-lg/tests/api/test_main.py
2026-02-10 03:25:37 -08:00

10 lines
253 B
Python

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