def test_update_exception_handler_resource_failure_rollback(self):
    reason = 'something strange happened'
    exc = exception.ResourceFailure(reason, None, action='UPDATE')
    rb = self.update_exception_handler(exc, disable_rollback=False)
    self.assertTrue(rb)
def test_update_exception_handler_resource_failure_rollback(self):
    reason = 'something strange happened'
    exc = exception.ResourceFailure(reason, None, action='UPDATE')
    rb = self.update_exception_handler(exc, disable_rollback=False)
    self.assertTrue(rb)