'Exception raised when boolean-like values as `enabled`.'

def test_validate_service_update_fails_with_invalid_enabled(self):

    for invalid_enabled in _INVALID_ENABLED_FORMATS:
        request_to_validate = {'enabled': invalid_enabled}
        self.assertRaises(exception.SchemaValidationError, self.update_service_validator.validate, request_to_validate)
