

def test__find_by_id(self):
    [object] = self.collection.find({
        '_id': self.object_id,
    })
    self.assertEqual(object, self.data)

dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py InsertedDocumentTest.test__find_by_id/original