Try to fix CI
CI / lint_and_test (push) Successful in 2m34s
Details
CI / lint_and_test (push) Successful in 2m34s
Details
This commit is contained in:
parent
8bec6d7f11
commit
d046810ce8
|
@ -13,8 +13,8 @@ from src.app.config import settings
|
|||
client = TestClient(app)
|
||||
|
||||
|
||||
@patch("src.app.routers.health.EmbeddingService")
|
||||
@patch("src.app.routers.health.ChromaStore")
|
||||
@patch("src.app.routers.health.EmbeddingService")
|
||||
def test_health_endpoint(mock_embedding_service, mock_chroma_store):
|
||||
mock_chroma_store.return_value.get_count.return_value = 1
|
||||
response = client.get("/healthz")
|
||||
|
|
Loading…
Reference in New Issue