'Call ``GET & HEAD /domains/config/{group}/default``.'

def test_get_head_config_default_by_group(self):

    self.domain_config_api.create_config(self.domain['id'], self.config)
    url = '/domains/config/ldap/default'
    r = self.get(url)
    default_config = r.result['config']
    for option in default_config['ldap']:
        self.assertEqual(getattr(CONF.ldap, option), default_config['ldap'][option])
    self.head(url, expected_status=http_client.OK)
