mandatory_warnings: PropertiesOptionError in optiondescription stop validate mandatory warnings for followers options
This commit is contained in:
@ -12,6 +12,8 @@ from tiramisu.setting import groups
|
||||
|
||||
|
||||
def make_description():
|
||||
stro = StrOption('str', '')
|
||||
subdescr = OptionDescription('sub', '', [stro], properties=('disabled',))
|
||||
stroption = StrOption('str', 'Test string option', default="abc",
|
||||
properties=('mandatory', ))
|
||||
stroption1 = StrOption('str1', 'Test string option',
|
||||
@ -22,7 +24,7 @@ def make_description():
|
||||
properties=('mandatory', ))
|
||||
stroption4 = StrOption('str4', 'Test string option', multi=True,
|
||||
properties=('mandatory', ), allow_empty_list=True)
|
||||
descr = OptionDescription('tiram', '', [stroption, stroption1, stroption2, stroption3, stroption4])
|
||||
descr = OptionDescription('tiram', '', [subdescr, stroption, stroption1, stroption2, stroption3, stroption4])
|
||||
return descr
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user