cache for properties is now in get_properties and not for validate_properties
This commit is contained in:
@ -12,7 +12,7 @@ def make_description():
|
||||
stroption1 = StrOption('str1', 'Test string option',
|
||||
properties=('mandatory', ))
|
||||
stroption2 = UnicodeOption('unicode2', 'Test string option',
|
||||
properties=('mandatory', ))
|
||||
properties=('mandatory', ))
|
||||
stroption3 = StrOption('str3', 'Test string option', multi=True,
|
||||
properties=('mandatory', ))
|
||||
descr = OptionDescription('tiram', '', [stroption, stroption1, stroption2, stroption3])
|
||||
|
@ -162,7 +162,7 @@ def test_hidden_if_in():
|
||||
assert not setting.has_property('hidden', stroption)
|
||||
cfg.int = 1
|
||||
raises(PropertiesOptionError, "cfg.str")
|
||||
raises(PropertiesOptionError, 'cfg.str= "uvw"')
|
||||
raises(PropertiesOptionError, 'cfg.str="uvw"')
|
||||
assert setting.has_property('hidden', stroption)
|
||||
|
||||
def test_hidden_if_in_with_group():
|
||||
|
Reference in New Issue
Block a user