MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / count_documents

Method count_documents

test/test_encryption.py:326–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324 unack.insert_many(docs[4:], ordered=False)
325
326 def count_documents():
327 return self.db.test.count_documents({}) == len(docs)
328
329 wait_until(count_documents, "insert documents with w=0")
330

Callers 15

test_basicMethod · 0.45
test_delete_by_nameMethod · 0.45
test_empty_fileMethod · 0.45
test_alt_collectionMethod · 0.45
test_threaded_writesMethod · 0.45
test_upload_batchingMethod · 0.45
test_gridfs_findMethod · 0.45
test_abortMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected