def test_that_when_describing_lambda_on_client_error_it_returns_error(self):
        self.conn.list_aliases.side_effect = ClientError(error_content, 'list_aliases')
        result = boto_lambda.describe_alias(FunctionName='testfunction',
                                            Name=alias_ret['Name'],
                                            **conn_parameters)
        self.assertTrue('error' in result)
Tests describing parameters failure
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_lambda_test.py/BotoLambdaAliasTestCase.test_that_when_describing_lambda_on_client_error_it_returns_error