

def revert(self, *args, **kwargs):
    result = kwargs.get('result')
    if isinstance(result, six.integer_types):
        return (result + 1)

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/utils.py GiveBackRevert.revert/original