

def test__delete_many(self):
    self.cmp.do.insert_many([{
        'a': i,
    } for i in range(10)])
    self.cmp.compare.find()
    self.cmp.do.delete_many({
        'a': {
            '$gt': 5,
        },
    })
    self.cmp.compare.find()

dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py MongoClientCollectionTest.test__delete_many/original