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

def test_validate_project_request_with_invalid_domain_id_fails(self):

    for domain_id in [False, 'fake_project']:
        request_to_validate = {'name': self.project_name, 'domain_id': domain_id}
        self.assertRaises(exception.SchemaValidationError, self.create_project_validator.validate, request_to_validate)
