def test_that_when_describing_event_source_mapping_on_client_error_it_returns_error(self):
        self.conn.get_event_source_mapping.side_effect = ClientError(error_content, 'get_event_source_mapping')
        result = boto_lambda.describe_event_source_mapping(
                                          UUID=event_source_mapping_ret['UUID'],
                                          **conn_parameters)
        self.assertTrue('error' in result)
Tests describing parameters failure
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_lambda_test.py/BotoLambdaEventSourceMappingTestCase.test_that_when_describing_event_source_mapping_on_client_error_it_returns_error