'Fail when an optional parameter is invalid.'

def test_update_entity_with_invalid_optional_parameter_fails(self):

    request_to_validate = {'email': 0}
    self.assertRaises(exception.SchemaValidationError, self.update_schema_validator.validate, request_to_validate)
