def test_that_when_checking_if_a_domain_exists_and_boto3_returns_an_error_the_domain_exists_method_returns_error(self):
        self.conn.describe_elasticsearch_domain.side_effect = ClientError(error_content, 'list_domains')
        result = boto_elasticsearch_domain.exists(DomainName='mydomain', **conn_parameters)

        self.assertEqual(result.get('error', {}).get('message'), error_message.format('list_domains'))
Request callback to turn a request with a dict as the body into
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_elasticsearch_domain_test.py/BotoElasticsearchDomainTestCase.test_that_when_checking_if_a_domain_exists_and_boto3_returns_an_error_the_domain_exists_method_returns_error--crossover with--dataset/ETHPy150Open RafeKettler/bind/bind/callbacks.py/request_to_json