code-review-agent / tests /test_basic.py
3v324v23's picture
code agent
e1d6e8a
from fastapi.testclient import TestClient
from src.app import app
client = TestClient(app)
def test_health():
r = client.get("/health")
assert r.status_code == 200
assert r.json()["status"] == "ok"