

def test_batch_action_gets_pages_from_collection(self):
    collection = mock.Mock()
    collection.pages.return_value = []
    action = BatchAction(action.model)
    action(collection)
    collection.pages.assert_called_with()

dataset/ETHPy150Open boto/boto3/tests/unit/resources/test_action.py TestBatchActionCall.test_batch_action_gets_pages_from_collection/VarMisuse@31/42 `self`->`action`