def test_that_when_describing_domain_on_client_error_it_returns_error(self):
        self.conn.describe_elasticsearch_domain_config.side_effect = ClientError(error_content, 'list_domains')
        result = boto_elasticsearch_domain.describe(DomainName='testdomain', **conn_parameters)
        self.assertTrue('error' in result)
Tests describing parameters failure
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_elasticsearch_domain_test.py/BotoElasticsearchDomainTestCase.test_that_when_describing_domain_on_client_error_it_returns_error