Fixed test case for chroma db (#358)
This commit is contained in:
@@ -17,7 +17,7 @@ class TestChromaDbHosts(unittest.TestCase):
|
|||||||
host = "test-host"
|
host = "test-host"
|
||||||
port = "1234"
|
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)
|
_db = ChromaDB(host=host, port=port, embedding_fn=len)
|
||||||
|
|
||||||
expected_settings = Settings(
|
expected_settings = Settings(
|
||||||
|
|||||||
Reference in New Issue
Block a user