()
| 1245 | client.pymongo_test.collection2.drop() |
| 1246 | |
| 1247 | def insert_and_find(): |
| 1248 | cursor = collection.find().batch_size(1) |
| 1249 | for _ in range(10): |
| 1250 | # Advance the cluster time. |
| 1251 | collection.insert_one({}) |
| 1252 | next(cursor) |
| 1253 | |
| 1254 | cursor.close() |
| 1255 | |
| 1256 | def insert_and_aggregate(): |
| 1257 | cursor = (collection.aggregate([], batchSize=1)).batch_size(1) |
nothing calls this directly
no test coverage detected