Archived
first commit
This commit is contained in:
commit
3da6c2832c
125 files changed
+30111
No files matched your search
@@ -0,0 +1,10 @@
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from app.main import app
|
||||
|
||||
|
||||
def test_health_endpoint():
|
||||
client = TestClient(app)
|
||||
response = client.get("/api/health")
|
||||
assert response.status_code == 200
|
||||
assert response.json()["status"] in {"ok", "error"}
|
||||
Reference in new issue
Block a user