refactor condition
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
<property>disabled</property>
|
||||
<property>mandatory</property>
|
||||
<property>normal</property>
|
||||
<property expected="oui" inverse="False" source="rougail.general.condition" type="calculation">disabled</property>
|
||||
<value type="string">non</value>
|
||||
</variable>
|
||||
<variable doc="No change" multi="False" name="mode_conteneur_actif2" type="choice">
|
||||
|
@ -1 +1 @@
|
||||
{"rougail.general.mode_conteneur_actif": "non", "rougail.general.condition": "non", "services.test.files.file1.group": "root", "services.test.files.file1.mode": "0644", "services.test.files.file1.name": "/tmp/file1", "services.test.files.file1.owner": "root", "services.test.files.file1.source": "file1", "services.test.files.file1.templating": true}
|
||||
{"rougail.general.mode_conteneur_actif": "non", "rougail.general.condition": "non", "services.test.files.file1.group": "root", "services.test.files.file1.mode": "0644", "services.test.files.file1.name": "/tmp/file1", "services.test.files.file1.owner": "root", "services.test.files.file1.source": "file1", "services.test.files.file1.templating": true, "services.test.files.file1.activate": false}
|
||||
|
@ -24,8 +24,7 @@
|
||||
<value>True</value>
|
||||
</variable>
|
||||
<variable doc="activate" multi="False" name="activate" type="boolean">
|
||||
<property>disabled</property>
|
||||
<value>True</value>
|
||||
<value>False</value>
|
||||
</variable>
|
||||
</family>
|
||||
</family>
|
||||
|
@ -29,8 +29,8 @@ for test in listdir(dico_dirs):
|
||||
excludes = set([])
|
||||
test_ok -= excludes
|
||||
test_raise -= excludes
|
||||
#test_ok = ['10valid_enum_none']
|
||||
#"test_raise = []
|
||||
#test_ok = ['11multi_disabled_if_in_filelist']
|
||||
#test_raise = []
|
||||
|
||||
|
||||
test_ok = list(test_ok)
|
||||
|
Reference in New Issue
Block a user