File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
tests/integration/vector_stores Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 3737 " --config" ,
3838 " <path_to_ragtest_root_demo>/settings.yaml" ,
3939 ]
40- }
40+ },
41+ {
42+ "name" : " Debug Integration Pytest" ,
43+ "type" : " debugpy" ,
44+ "request" : " launch" ,
45+ "module" : " pytest" ,
46+ "args" : [
47+ " ./tests/integration/vector_stores" ,
48+ " -k" , " test_lancedb"
49+ ],
50+ "console" : " integratedTerminal" ,
51+ "justMyCode" : false
52+ },
4153 ]
4254}
Original file line number Diff line number Diff line change 2525def test_vector_store_operations ():
2626 """Test basic vector store operations with CosmosDB."""
2727 vector_store = CosmosDBVectorStore (
28- collection_name = "testvector" ,
29- vector_store_schema_config = VectorStoreSchemaConfig (),
28+ vector_store_schema_config = VectorStoreSchemaConfig (index_name = "testvector" ),
3029 )
3130
3231 try :
@@ -80,8 +79,7 @@ def mock_embedder(text: str) -> list[float]:
8079def test_clear ():
8180 """Test clearing the vector store."""
8281 vector_store = CosmosDBVectorStore (
83- collection_name = "testclear" ,
84- vector_store_schema_config = VectorStoreSchemaConfig (),
82+ vector_store_schema_config = VectorStoreSchemaConfig (index_name = "testclear" ),
8583 )
8684 try :
8785 vector_store .connect (
You can’t perform that action at this time.
0 commit comments