'Call ``PATCH /projects/{project_id}`` with domain_id.
A projects\'s `domain_id` is immutable. Ensure that any attempts to
update the `domain_id` of a project fails.'

def test_update_project_domain_id(self):

    project = unit.new_project_ref(domain_id=self.domain['id'])
    project = self.resource_api.create_project(project['id'], project)
    project['domain_id'] = CONF.identity.default_domain_id
    self.patch(('/projects/%(project_id)s' % {'project_id': project['id']}), body={'project': project}, expected_status=exception.ValidationError.code)
