Fixed test case for chroma db (#358)

This commit is contained in:
aaishikdutta
2023-07-23 04:47:01 +05:30
committed by GitHub
parent c9c56a4b26
commit c54dd1e7bb

View File

@@ -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(