Try to fix CI
CI / lint_and_test (push) Failing after 2m32s
Details
CI / lint_and_test (push) Failing after 2m32s
Details
This commit is contained in:
parent
1b8e7a3c1a
commit
8bec6d7f11
|
@ -37,4 +37,4 @@ jobs:
|
||||||
run: ruff check .
|
run: ruff check .
|
||||||
|
|
||||||
- name: Run Pytest
|
- name: Run Pytest
|
||||||
run: pytest
|
run: pytest -s
|
||||||
|
|
|
@ -20,6 +20,7 @@ def test_health_endpoint(mock_embedding_service, mock_chroma_store):
|
||||||
response = client.get("/healthz")
|
response = client.get("/healthz")
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
data = response.json()
|
data = response.json()
|
||||||
|
print("Health check response:", data)
|
||||||
assert "status" in data
|
assert "status" in data
|
||||||
assert data["status"] == "healthy"
|
assert data["status"] == "healthy"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue