'Call ``PUT /domains/{domain_id}/config``.'

def test_create_config(self):

    url = ('/domains/%(domain_id)s/config' % {'domain_id': self.domain['id']})
    r = self.put(url, body={'config': self.config}, expected_status=http_client.CREATED)
    res = self.domain_config_api.get_config(self.domain['id'])
    self.assertEqual(self.config, r.result['config'])
    self.assertEqual(self.config, res)
