'Exception raised when trying to create a service without `type`.'

def test_validate_service_create_fails_without_type(self):

    request_to_validate = {'name': 'Nova'}
    self.assertRaises(exception.SchemaValidationError, self.create_service_validator.validate, request_to_validate)
