Explorar o código

Fixed test case for chroma db (#358)

aaishikdutta %!s(int64=2) %!d(string=hai) anos
pai
achega
c54dd1e7bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/vectordb/test_chroma_db.py

+ 1 - 1
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(