'Exception is raised when `type` is too long on update.'

def test_validate_service_update_fails_with_type_too_long(self):

    long_type_name = ('a' * 256)
    request_to_validate = {'type': long_type_name}
    self.assertRaises(exception.SchemaValidationError, self.update_service_validator.validate, request_to_validate)
