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

def test_validate_project_request_with_valid_parent_id(self):

    request_to_validate = {'name': self.project_name, 'parent_id': None}
    self.create_project_validator.validate(request_to_validate)
    request_to_validate = {'name': self.project_name, 'parent_id': uuid.uuid4().hex}
    self.create_project_validator.validate(request_to_validate)
