'Exception is raised when `parent_id` as a non-id value.'

def test_validate_project_request_with_invalid_parent_id_fails(self):

    request_to_validate = {'name': self.project_name, 'parent_id': False}
    self.assertRaises(exception.SchemaValidationError, self.create_project_validator.validate, request_to_validate)
    request_to_validate = {'name': self.project_name, 'parent_id': 'fake    project'}
    self.assertRaises(exception.SchemaValidationError, self.create_project_validator.validate, request_to_validate)
