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

def test_get_head_config_by_group(self):

    self.domain_config_api.create_config(self.domain['id'], self.config)
    url = ('/domains/%(domain_id)s/config/ldap' % {'domain_id': self.domain['id']})
    r = self.get(url)
    self.assertEqual({'ldap': self.config['ldap']}, r.result['config'])
    self.head(url, expected_status=http_client.OK)
