We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d311ac5 commit dfecc3eCopy full SHA for dfecc3e
tests/database/test_chroma0.py
@@ -145,6 +145,8 @@ async def test_list_collection_content(mock_config):
145
{
146
"path": os.path.join(mock_config.project_root, "file1"),
147
"sha256": "hash1",
148
+ "start": 1,
149
+ "end": 2,
150
}
151
],
152
"documents": ["doc1"],
@@ -666,8 +668,9 @@ async def test_query_no_n_result(mock_config):
666
668
667
669
670
@pytest.mark.asyncio
-async def test_create_or_get_collection_exists(mock_config):
671
+async def test_create_or_get_collection_exists(mock_config: Config):
672
"""Test _create_or_get_collection when collection exists and allow_create is True."""
673
+ mock_config.db_params["hnsw"] = {"M": 64}
674
connector = ChromaDB0Connector(mock_config)
675
with (
676
patch(
0 commit comments