From c54dd1e7bb020d869ab24d980e2fd9734e668c35 Mon Sep 17 00:00:00 2001 From: aaishikdutta <107566376+aaishikdutta@users.noreply.github.com> Date: Sun, 23 Jul 2023 04:47:01 +0530 Subject: [PATCH] Fixed test case for chroma db (#358) --- tests/vectordb/test_chroma_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vectordb/test_chroma_db.py b/tests/vectordb/test_chroma_db.py index de009b9b..46d4c7c4 100644 --- a/tests/vectordb/test_chroma_db.py +++ b/tests/vectordb/test_chroma_db.py @@ -17,7 +17,7 @@ class TestChromaDbHosts(unittest.TestCase): host = "test-host" port = "1234" - with patch.object(chromadb, "Client") as mock_client: + with patch.object(chromadb, "HttpClient") as mock_client: _db = ChromaDB(host=host, port=port, embedding_fn=len) expected_settings = Settings(