def test_that_when_describing_domain_it_returns_the_dict_of_properties_returns_true(self):
        domainconfig = {}
        for k, v in domain_ret.iteritems():
            if k == 'DomainName':
                continue
            domainconfig[k] = {'Options': v}
        self.conn.describe_elasticsearch_domain_config.return_value = {'DomainConfig': domainconfig}

        result = boto_elasticsearch_domain.describe(DomainName=domain_ret['DomainName'], **conn_parameters)

        log.warn(result)
        desired_ret = copy.copy(domain_ret)
        desired_ret.pop('DomainName')
        self.assertEqual(result, {'domain': desired_ret})
Tests describing parameters if domain exists
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_elasticsearch_domain_test.py/BotoElasticsearchDomainTestCase.test_that_when_describing_domain_it_returns_the_dict_of_properties_returns_true