mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-15 02:16:08 +00:00
fix: ruff
This commit is contained in:
1 parent
5f0d39e5f1
commit
c726eb8ebd
6 files changed
+6
-9
No files matched your search
@@ -97,7 +97,7 @@ class TestMongoDBVectorStoreAddTexts:
|
||||
inserted_ids=list(range(100))
|
||||
)
|
||||
|
||||
result = store.add_texts(texts, metadatas)
|
||||
store.add_texts(texts, metadatas)
|
||||
|
||||
# Should have been called twice: batch of 100, then batch of 50
|
||||
assert mock_collection.insert_many.call_count == 2
|
||||
|
||||
Reference in new issue
Block a user