'Test that we validate `domain_id` in create project requests.'

def test_validate_project_create_request_with_valid_domain_id(self):

    for domain_id in [None, uuid.uuid4().hex]:
        request_to_validate = {'name': self.project_name, 'domain_id': domain_id}
        self.create_project_validator.validate(request_to_validate)
