def test_that_when_deleting_an_event_source_mapping_fails_the_delete_event_source_mapping_method_returns_false(self):
        self.conn.delete_event_source_mapping.side_effect = ClientError(error_content, 'delete_event_source_mapping')
        result = boto_lambda.delete_event_source_mapping(UUID=event_source_mapping_ret['UUID'],
                                          **conn_parameters)
        self.assertFalse(result['deleted'])
tests False mapping not deleted.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_lambda_test.py/BotoLambdaEventSourceMappingTestCase.test_that_when_deleting_an_event_source_mapping_fails_the_delete_event_source_mapping_method_returns_false