Skip to content

Commit

Permalink
fix(document_search): fix test after moving private method call to in…
Browse files Browse the repository at this point in the history
…it function.
  • Loading branch information
PatrykWyzgowski committed Sep 25, 2024
1 parent 6a942a1 commit 8096f1f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def test_get_chroma_collection(mock_chromadb_store):
def test_get_chroma_collection_with_custom_embedding_function(
custom_embedding_function, mock_chromadb_store_with_custom_embedding_function, mock_chroma_client
):
_ = mock_chromadb_store_with_custom_embedding_function._get_chroma_collection()

mock_chroma_client.get_or_create_collection.assert_called_once_with(
name="test_index",
metadata={"hnsw:space": "l2"},
Expand Down

0 comments on commit 8096f1f

Please sign in to comment.