def test_that_when_updating_an_event_source_mapping_fails_the_update_event_source_mapping_method_returns_error(self):
        self.conn.update_event_source_mapping.side_effect = ClientError(error_content, 'update_event_source_mapping')
        result = boto_lambda.update_event_source_mapping(
                                          UUID=event_source_mapping_ret['UUID'],
                                          FunctionName=event_source_mapping_ret['FunctionArn'],
                                          **conn_parameters)
        self.assertEqual(result.get('error', {}).get('message'), error_message.format('update_event_source_mapping'))
tests False event_source_mapping not updated.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_lambda_test.py/BotoLambdaEventSourceMappingTestCase.test_that_when_updating_an_event_source_mapping_fails_the_update_event_source_mapping_method_returns_error