Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Fixed test case for chroma db (#358)

aaishikduttac54dd1e7bb02
diff --git a/tests/vectordb/test_chroma_db.py b/tests/vectordb/test_chroma_db.py
index de009b9b2..46d4c7c4f 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(