test_mod => test_mode2
This commit is contained in:
@ -244,7 +244,7 @@ class TiramisuOptionValue(_Value):
|
||||
self._display_warnings(self.path, value, self.schema['type'], self.schema['name'])
|
||||
return value
|
||||
if self.index is not None:
|
||||
raise APIError(_('index must be only with a follower option, not for "{}"').format(self.path))
|
||||
raise APIError(_('index must only be set with a follower option, not for "{}"').format(self.path))
|
||||
value = self.config.get_value(self.path)
|
||||
self._display_warnings(self.path, value, self.schema['type'], self.schema['name'])
|
||||
return value
|
||||
|
Reference in New Issue
Block a user