All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 4s
12 lines
333 B
Python
12 lines
333 B
Python
from fastapi.testclient import TestClient
|
|
from app.main import create_app
|
|
|
|
def test_healthz_ok():
|
|
app = create_app()
|
|
with TestClient(app) as c:
|
|
r = c.get("/healthz")
|
|
assert r.status_code == 200
|
|
body = r.json()
|
|
assert body["status"] == "ok"
|
|
assert "qdrant" in body and "prefix" in body
|