Skip to content

Commit 247ed1c

Browse files
committed
fix: empty_collection(col)
1 parent 0a61e9c commit 247ed1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_document.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,9 +1836,11 @@ def test_document_import_bulk(col, bad_col, docs):
18361836
results = col.import_bulk(docs, batch_size=len(docs) // 2)
18371837
assert type(results) is list
18381838
assert len(results) == 2
1839+
empty_collection(col)
18391840

18401841
result = col.import_bulk(docs, batch_size=len(docs) * 2)
18411842
assert type(result) is dict
1843+
empty_collection(col)
18421844

18431845
# Test import bulk on_duplicate actions
18441846
doc = docs[0]

0 commit comments

Comments
 (0)