diff --git a/tests/flattener_dicos/00empty/00_base.xml b/tests/dictionaries/00empty/00_base.xml similarity index 100% rename from tests/flattener_dicos/00empty/00_base.xml rename to tests/dictionaries/00empty/00_base.xml diff --git a/tests/flattener_dicos/00empty/__init__.py b/tests/dictionaries/00empty/__init__.py similarity index 100% rename from tests/flattener_dicos/00empty/__init__.py rename to tests/dictionaries/00empty/__init__.py diff --git a/tests/flattener_dicos/00empty/tiramisu/__init__.py b/tests/dictionaries/00empty/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00empty/tiramisu/__init__.py rename to tests/dictionaries/00empty/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00empty/tiramisu/base.py b/tests/dictionaries/00empty/tiramisu/base.py similarity index 84% rename from tests/flattener_dicos/00empty/tiramisu/base.py rename to tests/dictionaries/00empty/tiramisu/base.py index 833ce194..0880c343 100644 --- a/tests/flattener_dicos/00empty/tiramisu/base.py +++ b/tests/dictionaries/00empty/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_2 = OptionDescription(name='tata', doc='tata', children=[]) option_2.impl_set_information("manage", True) option_1 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_2]) diff --git a/tests/flattener_dicos/00load_autofreeze/00-base.xml b/tests/dictionaries/00load_autofreeze/00-base.xml similarity index 100% rename from tests/flattener_dicos/00load_autofreeze/00-base.xml rename to tests/dictionaries/00load_autofreeze/00-base.xml diff --git a/tests/flattener_dicos/00load_autofreeze/__init__.py b/tests/dictionaries/00load_autofreeze/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_autofreeze/__init__.py rename to tests/dictionaries/00load_autofreeze/__init__.py diff --git a/tests/flattener_dicos/00load_autofreeze/makedict/base.json b/tests/dictionaries/00load_autofreeze/makedict/base.json similarity index 100% rename from tests/flattener_dicos/00load_autofreeze/makedict/base.json rename to tests/dictionaries/00load_autofreeze/makedict/base.json diff --git a/tests/flattener_dicos/00load_autofreeze/tiramisu/__init__.py b/tests/dictionaries/00load_autofreeze/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_autofreeze/tiramisu/__init__.py rename to tests/dictionaries/00load_autofreeze/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00load_autofreeze/tiramisu/base.py b/tests/dictionaries/00load_autofreeze/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/00load_autofreeze/tiramisu/base.py rename to tests/dictionaries/00load_autofreeze/tiramisu/base.py index a083b32e..f27b6624 100644 --- a/tests/flattener_dicos/00load_autofreeze/tiramisu/base.py +++ b/tests/dictionaries/00load_autofreeze/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='module_instancie', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'auto_freeze', 'basic', 'force_store_value', 'mandatory', Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_4, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'basic'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/00load_autofreezeexpert/00-base.xml b/tests/dictionaries/00load_autofreezeexpert/00-base.xml similarity index 100% rename from tests/flattener_dicos/00load_autofreezeexpert/00-base.xml rename to tests/dictionaries/00load_autofreezeexpert/00-base.xml diff --git a/tests/flattener_dicos/00load_autofreezeexpert/__init__.py b/tests/dictionaries/00load_autofreezeexpert/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_autofreezeexpert/__init__.py rename to tests/dictionaries/00load_autofreezeexpert/__init__.py diff --git a/tests/flattener_dicos/00load_autofreezeexpert/makedict/base.json b/tests/dictionaries/00load_autofreezeexpert/makedict/base.json similarity index 100% rename from tests/flattener_dicos/00load_autofreezeexpert/makedict/base.json rename to tests/dictionaries/00load_autofreezeexpert/makedict/base.json diff --git a/tests/flattener_dicos/00load_autofreezeexpert/tiramisu/__init__.py b/tests/dictionaries/00load_autofreezeexpert/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_autofreezeexpert/tiramisu/__init__.py rename to tests/dictionaries/00load_autofreezeexpert/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00load_autofreezeexpert/tiramisu/base.py b/tests/dictionaries/00load_autofreezeexpert/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/00load_autofreezeexpert/tiramisu/base.py rename to tests/dictionaries/00load_autofreezeexpert/tiramisu/base.py index 9b3ac130..3b002f00 100644 --- a/tests/flattener_dicos/00load_autofreezeexpert/tiramisu/base.py +++ b/tests/dictionaries/00load_autofreezeexpert/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='module_instancie', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'auto_freeze', 'expert', 'force_store_value', 'mandatory', Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_4, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/00load_autosave/00-base.xml b/tests/dictionaries/00load_autosave/00-base.xml similarity index 100% rename from tests/flattener_dicos/00load_autosave/00-base.xml rename to tests/dictionaries/00load_autosave/00-base.xml diff --git a/tests/flattener_dicos/00load_autosave/__init__.py b/tests/dictionaries/00load_autosave/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_autosave/__init__.py rename to tests/dictionaries/00load_autosave/__init__.py diff --git a/tests/flattener_dicos/00load_autosave/makedict/base.json b/tests/dictionaries/00load_autosave/makedict/base.json similarity index 100% rename from tests/flattener_dicos/00load_autosave/makedict/base.json rename to tests/dictionaries/00load_autosave/makedict/base.json diff --git a/tests/flattener_dicos/00load_autosave/tiramisu/__init__.py b/tests/dictionaries/00load_autosave/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_autosave/tiramisu/__init__.py rename to tests/dictionaries/00load_autosave/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00load_autosave/tiramisu/base.py b/tests/dictionaries/00load_autosave/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/00load_autosave/tiramisu/base.py rename to tests/dictionaries/00load_autosave/tiramisu/base.py index bd4a6687..3b53f31f 100644 --- a/tests/flattener_dicos/00load_autosave/tiramisu/base.py +++ b/tests/dictionaries/00load_autosave/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'basic', 'force_store_value', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'basic'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/00load_autosaveexpert/00-base.xml b/tests/dictionaries/00load_autosaveexpert/00-base.xml similarity index 100% rename from tests/flattener_dicos/00load_autosaveexpert/00-base.xml rename to tests/dictionaries/00load_autosaveexpert/00-base.xml diff --git a/tests/flattener_dicos/00load_autosaveexpert/__init__.py b/tests/dictionaries/00load_autosaveexpert/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_autosaveexpert/__init__.py rename to tests/dictionaries/00load_autosaveexpert/__init__.py diff --git a/tests/flattener_dicos/00load_autosaveexpert/makedict/base.json b/tests/dictionaries/00load_autosaveexpert/makedict/base.json similarity index 100% rename from tests/flattener_dicos/00load_autosaveexpert/makedict/base.json rename to tests/dictionaries/00load_autosaveexpert/makedict/base.json diff --git a/tests/flattener_dicos/00load_autosaveexpert/tiramisu/__init__.py b/tests/dictionaries/00load_autosaveexpert/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_autosaveexpert/tiramisu/__init__.py rename to tests/dictionaries/00load_autosaveexpert/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00load_autosaveexpert/tiramisu/base.py b/tests/dictionaries/00load_autosaveexpert/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/00load_autosaveexpert/tiramisu/base.py rename to tests/dictionaries/00load_autosaveexpert/tiramisu/base.py index 5645cd8a..3397df0a 100644 --- a/tests/flattener_dicos/00load_autosaveexpert/tiramisu/base.py +++ b/tests/dictionaries/00load_autosaveexpert/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'force_store_value', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'expert'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/00load_comment/00-base.xml b/tests/dictionaries/00load_comment/00-base.xml similarity index 100% rename from tests/flattener_dicos/00load_comment/00-base.xml rename to tests/dictionaries/00load_comment/00-base.xml diff --git a/tests/flattener_dicos/00load_comment/__init__.py b/tests/dictionaries/00load_comment/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_comment/__init__.py rename to tests/dictionaries/00load_comment/__init__.py diff --git a/tests/flattener_dicos/00load_comment/makedict/base.json b/tests/dictionaries/00load_comment/makedict/base.json similarity index 100% rename from tests/flattener_dicos/00load_comment/makedict/base.json rename to tests/dictionaries/00load_comment/makedict/base.json diff --git a/tests/flattener_dicos/00load_comment/tiramisu/__init__.py b/tests/dictionaries/00load_comment/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_comment/tiramisu/__init__.py rename to tests/dictionaries/00load_comment/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00load_comment/tiramisu/base.py b/tests/dictionaries/00load_comment/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/00load_comment/tiramisu/base.py rename to tests/dictionaries/00load_comment/tiramisu/base.py index 7cdb8020..64eda118 100644 --- a/tests/flattener_dicos/00load_comment/tiramisu/base.py +++ b/tests/dictionaries/00load_comment/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/00load_notype/00-base.xml b/tests/dictionaries/00load_notype/00-base.xml similarity index 100% rename from tests/flattener_dicos/00load_notype/00-base.xml rename to tests/dictionaries/00load_notype/00-base.xml diff --git a/tests/flattener_dicos/00load_notype/__init__.py b/tests/dictionaries/00load_notype/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_notype/__init__.py rename to tests/dictionaries/00load_notype/__init__.py diff --git a/tests/flattener_dicos/00load_notype/makedict/base.json b/tests/dictionaries/00load_notype/makedict/base.json similarity index 100% rename from tests/flattener_dicos/00load_notype/makedict/base.json rename to tests/dictionaries/00load_notype/makedict/base.json diff --git a/tests/flattener_dicos/00load_notype/tiramisu/__init__.py b/tests/dictionaries/00load_notype/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_notype/tiramisu/__init__.py rename to tests/dictionaries/00load_notype/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00load_notype/tiramisu/base.py b/tests/dictionaries/00load_notype/tiramisu/base.py similarity index 90% rename from tests/flattener_dicos/00load_notype/tiramisu/base.py rename to tests/dictionaries/00load_notype/tiramisu/base.py index 55cd4021..95b717c4 100644 --- a/tests/flattener_dicos/00load_notype/tiramisu/base.py +++ b/tests/dictionaries/00load_notype/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='without_type', doc='without_type', multi=False, default='non') option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/00load_save/00-base.xml b/tests/dictionaries/00load_save/00-base.xml similarity index 100% rename from tests/flattener_dicos/00load_save/00-base.xml rename to tests/dictionaries/00load_save/00-base.xml diff --git a/tests/flattener_dicos/00load_save/__init__.py b/tests/dictionaries/00load_save/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_save/__init__.py rename to tests/dictionaries/00load_save/__init__.py diff --git a/tests/flattener_dicos/00load_save/makedict/base.json b/tests/dictionaries/00load_save/makedict/base.json similarity index 100% rename from tests/flattener_dicos/00load_save/makedict/base.json rename to tests/dictionaries/00load_save/makedict/base.json diff --git a/tests/flattener_dicos/00load_save/tiramisu/__init__.py b/tests/dictionaries/00load_save/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_save/tiramisu/__init__.py rename to tests/dictionaries/00load_save/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00load_save/tiramisu/base.py b/tests/dictionaries/00load_save/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/00load_save/tiramisu/base.py rename to tests/dictionaries/00load_save/tiramisu/base.py index 7cdb8020..64eda118 100644 --- a/tests/flattener_dicos/00load_save/tiramisu/base.py +++ b/tests/dictionaries/00load_save/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/00load_subfolder/99-base.xml b/tests/dictionaries/00load_subfolder/99-base.xml similarity index 100% rename from tests/flattener_dicos/00load_subfolder/99-base.xml rename to tests/dictionaries/00load_subfolder/99-base.xml diff --git a/tests/flattener_dicos/00load_subfolder/__init__.py b/tests/dictionaries/00load_subfolder/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_subfolder/__init__.py rename to tests/dictionaries/00load_subfolder/__init__.py diff --git a/tests/flattener_dicos/00load_subfolder/makedict/base.json b/tests/dictionaries/00load_subfolder/makedict/base.json similarity index 100% rename from tests/flattener_dicos/00load_subfolder/makedict/base.json rename to tests/dictionaries/00load_subfolder/makedict/base.json diff --git a/tests/flattener_dicos/00load_subfolder/subfolder/00-base.xml b/tests/dictionaries/00load_subfolder/subfolder/00-base.xml similarity index 100% rename from tests/flattener_dicos/00load_subfolder/subfolder/00-base.xml rename to tests/dictionaries/00load_subfolder/subfolder/00-base.xml diff --git a/tests/flattener_dicos/00load_subfolder/tiramisu/__init__.py b/tests/dictionaries/00load_subfolder/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/00load_subfolder/tiramisu/__init__.py rename to tests/dictionaries/00load_subfolder/tiramisu/__init__.py diff --git a/tests/flattener_dicos/00load_subfolder/tiramisu/base.py b/tests/dictionaries/00load_subfolder/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/00load_subfolder/tiramisu/base.py rename to tests/dictionaries/00load_subfolder/tiramisu/base.py index b18dd933..ad8747f2 100644 --- a/tests/flattener_dicos/00load_subfolder/tiramisu/base.py +++ b/tests/dictionaries/00load_subfolder/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01auto_base/00-base.xml b/tests/dictionaries/01auto_base/00-base.xml similarity index 100% rename from tests/flattener_dicos/01auto_base/00-base.xml rename to tests/dictionaries/01auto_base/00-base.xml diff --git a/tests/flattener_dicos/01auto_base/__init__.py b/tests/dictionaries/01auto_base/__init__.py similarity index 100% rename from tests/flattener_dicos/01auto_base/__init__.py rename to tests/dictionaries/01auto_base/__init__.py diff --git a/tests/flattener_dicos/01auto_base/makedict/base.json b/tests/dictionaries/01auto_base/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01auto_base/makedict/base.json rename to tests/dictionaries/01auto_base/makedict/base.json diff --git a/tests/flattener_dicos/01auto_base/tiramisu/__init__.py b/tests/dictionaries/01auto_base/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01auto_base/tiramisu/__init__.py rename to tests/dictionaries/01auto_base/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01auto_base/tiramisu/base.py b/tests/dictionaries/01auto_base/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/01auto_base/tiramisu/base.py rename to tests/dictionaries/01auto_base/tiramisu/base.py index 4bde6b10..70b6d7d4 100644 --- a/tests/flattener_dicos/01auto_base/tiramisu/base.py +++ b/tests/dictionaries/01auto_base/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01auto_withoutparam/00-base.xml b/tests/dictionaries/01auto_withoutparam/00-base.xml similarity index 100% rename from tests/flattener_dicos/01auto_withoutparam/00-base.xml rename to tests/dictionaries/01auto_withoutparam/00-base.xml diff --git a/tests/flattener_dicos/01auto_withoutparam/__init__.py b/tests/dictionaries/01auto_withoutparam/__init__.py similarity index 100% rename from tests/flattener_dicos/01auto_withoutparam/__init__.py rename to tests/dictionaries/01auto_withoutparam/__init__.py diff --git a/tests/flattener_dicos/01auto_withoutparam/makedict/base.json b/tests/dictionaries/01auto_withoutparam/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01auto_withoutparam/makedict/base.json rename to tests/dictionaries/01auto_withoutparam/makedict/base.json diff --git a/tests/flattener_dicos/01auto_withoutparam/tiramisu/__init__.py b/tests/dictionaries/01auto_withoutparam/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01auto_withoutparam/tiramisu/__init__.py rename to tests/dictionaries/01auto_withoutparam/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01auto_withoutparam/tiramisu/base.py b/tests/dictionaries/01auto_withoutparam/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/01auto_withoutparam/tiramisu/base.py rename to tests/dictionaries/01auto_withoutparam/tiramisu/base.py index e544a13d..d19917ea 100644 --- a/tests/flattener_dicos/01auto_withoutparam/tiramisu/base.py +++ b/tests/dictionaries/01auto_withoutparam/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((), kwargs={})), values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01base_multi/00-base.xml b/tests/dictionaries/01base_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/01base_multi/00-base.xml rename to tests/dictionaries/01base_multi/00-base.xml diff --git a/tests/flattener_dicos/01base_multi/__init__.py b/tests/dictionaries/01base_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/01base_multi/__init__.py rename to tests/dictionaries/01base_multi/__init__.py diff --git a/tests/flattener_dicos/01base_multi/makedict/base.json b/tests/dictionaries/01base_multi/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01base_multi/makedict/base.json rename to tests/dictionaries/01base_multi/makedict/base.json diff --git a/tests/flattener_dicos/01base_multi/tiramisu/__init__.py b/tests/dictionaries/01base_multi/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01base_multi/tiramisu/__init__.py rename to tests/dictionaries/01base_multi/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01base_multi/tiramisu/base.py b/tests/dictionaries/01base_multi/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/01base_multi/tiramisu/base.py rename to tests/dictionaries/01base_multi/tiramisu/base.py index 7d88cf18..d171a661 100644 --- a/tests/flattener_dicos/01base_multi/tiramisu/base.py +++ b/tests/dictionaries/01base_multi/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='Redefine description', multi=True, default=['non'], default_multi='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/01fill_autofreeze/00-base.xml b/tests/dictionaries/01fill_autofreeze/00-base.xml similarity index 100% rename from tests/flattener_dicos/01fill_autofreeze/00-base.xml rename to tests/dictionaries/01fill_autofreeze/00-base.xml diff --git a/tests/flattener_dicos/01fill_autofreeze/__init__.py b/tests/dictionaries/01fill_autofreeze/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_autofreeze/__init__.py rename to tests/dictionaries/01fill_autofreeze/__init__.py diff --git a/tests/flattener_dicos/01fill_autofreeze/makedict/base.json b/tests/dictionaries/01fill_autofreeze/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01fill_autofreeze/makedict/base.json rename to tests/dictionaries/01fill_autofreeze/makedict/base.json diff --git a/tests/flattener_dicos/01fill_autofreeze/tiramisu/__init__.py b/tests/dictionaries/01fill_autofreeze/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_autofreeze/tiramisu/__init__.py rename to tests/dictionaries/01fill_autofreeze/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01fill_autofreeze/tiramisu/base.py b/tests/dictionaries/01fill_autofreeze/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/01fill_autofreeze/tiramisu/base.py rename to tests/dictionaries/01fill_autofreeze/tiramisu/base.py index 204501b5..868c5318 100644 --- a/tests/flattener_dicos/01fill_autofreeze/tiramisu/base.py +++ b/tests/dictionaries/01fill_autofreeze/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='module_instancie', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'auto_freeze', 'basic', 'force_store_value', 'mandatory', Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_5, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={})), values=('oui', 'non')) diff --git a/tests/flattener_dicos/01fill_autosave/00-base.xml b/tests/dictionaries/01fill_autosave/00-base.xml similarity index 100% rename from tests/flattener_dicos/01fill_autosave/00-base.xml rename to tests/dictionaries/01fill_autosave/00-base.xml diff --git a/tests/flattener_dicos/01fill_autosave/__init__.py b/tests/dictionaries/01fill_autosave/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_autosave/__init__.py rename to tests/dictionaries/01fill_autosave/__init__.py diff --git a/tests/flattener_dicos/01fill_autosave/makedict/base.json b/tests/dictionaries/01fill_autosave/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01fill_autosave/makedict/base.json rename to tests/dictionaries/01fill_autosave/makedict/base.json diff --git a/tests/flattener_dicos/01fill_autosave/tiramisu/__init__.py b/tests/dictionaries/01fill_autosave/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_autosave/tiramisu/__init__.py rename to tests/dictionaries/01fill_autosave/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01fill_autosave/tiramisu/base.py b/tests/dictionaries/01fill_autosave/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/01fill_autosave/tiramisu/base.py rename to tests/dictionaries/01fill_autosave/tiramisu/base.py index 7be599f8..76d431b1 100644 --- a/tests/flattener_dicos/01fill_autosave/tiramisu/base.py +++ b/tests/dictionaries/01fill_autosave/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'basic', 'force_store_value', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'basic'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01fill_base/00-base.xml b/tests/dictionaries/01fill_base/00-base.xml similarity index 100% rename from tests/flattener_dicos/01fill_base/00-base.xml rename to tests/dictionaries/01fill_base/00-base.xml diff --git a/tests/flattener_dicos/01fill_base/__init__.py b/tests/dictionaries/01fill_base/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_base/__init__.py rename to tests/dictionaries/01fill_base/__init__.py diff --git a/tests/flattener_dicos/01fill_base/makedict/base.json b/tests/dictionaries/01fill_base/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01fill_base/makedict/base.json rename to tests/dictionaries/01fill_base/makedict/base.json diff --git a/tests/flattener_dicos/01fill_base/tiramisu/__init__.py b/tests/dictionaries/01fill_base/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_base/tiramisu/__init__.py rename to tests/dictionaries/01fill_base/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01fill_base/tiramisu/base.py b/tests/dictionaries/01fill_base/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/01fill_base/tiramisu/base.py rename to tests/dictionaries/01fill_base/tiramisu/base.py index 4bde6b10..70b6d7d4 100644 --- a/tests/flattener_dicos/01fill_base/tiramisu/base.py +++ b/tests/dictionaries/01fill_base/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01fill_baseaccent/00-base.xml b/tests/dictionaries/01fill_baseaccent/00-base.xml similarity index 100% rename from tests/flattener_dicos/01fill_baseaccent/00-base.xml rename to tests/dictionaries/01fill_baseaccent/00-base.xml diff --git a/tests/flattener_dicos/01fill_baseaccent/__init__.py b/tests/dictionaries/01fill_baseaccent/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_baseaccent/__init__.py rename to tests/dictionaries/01fill_baseaccent/__init__.py diff --git a/tests/flattener_dicos/01fill_baseaccent/makedict/base.json b/tests/dictionaries/01fill_baseaccent/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01fill_baseaccent/makedict/base.json rename to tests/dictionaries/01fill_baseaccent/makedict/base.json diff --git a/tests/flattener_dicos/01fill_baseaccent/tiramisu/__init__.py b/tests/dictionaries/01fill_baseaccent/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_baseaccent/tiramisu/__init__.py rename to tests/dictionaries/01fill_baseaccent/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01fill_baseaccent/tiramisu/base.py b/tests/dictionaries/01fill_baseaccent/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/01fill_baseaccent/tiramisu/base.py rename to tests/dictionaries/01fill_baseaccent/tiramisu/base.py index 5268f551..c6e5617b 100644 --- a/tests/flattener_dicos/01fill_baseaccent/tiramisu/base.py +++ b/tests/dictionaries/01fill_baseaccent/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='Général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01fill_mandatory/00-base.xml b/tests/dictionaries/01fill_mandatory/00-base.xml similarity index 100% rename from tests/flattener_dicos/01fill_mandatory/00-base.xml rename to tests/dictionaries/01fill_mandatory/00-base.xml diff --git a/tests/flattener_dicos/01fill_mandatory/__init__.py b/tests/dictionaries/01fill_mandatory/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_mandatory/__init__.py rename to tests/dictionaries/01fill_mandatory/__init__.py diff --git a/tests/flattener_dicos/01fill_mandatory/makedict/base.json b/tests/dictionaries/01fill_mandatory/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01fill_mandatory/makedict/base.json rename to tests/dictionaries/01fill_mandatory/makedict/base.json diff --git a/tests/flattener_dicos/01fill_mandatory/tiramisu/__init__.py b/tests/dictionaries/01fill_mandatory/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_mandatory/tiramisu/__init__.py rename to tests/dictionaries/01fill_mandatory/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01fill_mandatory/tiramisu/base.py b/tests/dictionaries/01fill_mandatory/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/01fill_mandatory/tiramisu/base.py rename to tests/dictionaries/01fill_mandatory/tiramisu/base.py index ca545b2f..2d7b9eb7 100644 --- a/tests/flattener_dicos/01fill_mandatory/tiramisu/base.py +++ b/tests/dictionaries/01fill_mandatory/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = DomainnameOption(type='domainname', allow_ip=False, properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={}))) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01fill_number/00-base.xml b/tests/dictionaries/01fill_number/00-base.xml similarity index 100% rename from tests/flattener_dicos/01fill_number/00-base.xml rename to tests/dictionaries/01fill_number/00-base.xml diff --git a/tests/flattener_dicos/01fill_number/__init__.py b/tests/dictionaries/01fill_number/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_number/__init__.py rename to tests/dictionaries/01fill_number/__init__.py diff --git a/tests/flattener_dicos/01fill_number/makedict/base.json b/tests/dictionaries/01fill_number/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01fill_number/makedict/base.json rename to tests/dictionaries/01fill_number/makedict/base.json diff --git a/tests/flattener_dicos/01fill_number/tiramisu/__init__.py b/tests/dictionaries/01fill_number/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_number/tiramisu/__init__.py rename to tests/dictionaries/01fill_number/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01fill_number/tiramisu/base.py b/tests/dictionaries/01fill_number/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/01fill_number/tiramisu/base.py rename to tests/dictionaries/01fill_number/tiramisu/base.py index 5f841652..ec49bb29 100644 --- a/tests/flattener_dicos/01fill_number/tiramisu/base.py +++ b/tests/dictionaries/01fill_number/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = IntOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamValue(3)), kwargs={}))) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01fill_optional/00-base.xml b/tests/dictionaries/01fill_optional/00-base.xml similarity index 100% rename from tests/flattener_dicos/01fill_optional/00-base.xml rename to tests/dictionaries/01fill_optional/00-base.xml diff --git a/tests/flattener_dicos/01fill_optional/__init__.py b/tests/dictionaries/01fill_optional/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_optional/__init__.py rename to tests/dictionaries/01fill_optional/__init__.py diff --git a/tests/flattener_dicos/01fill_optional/makedict/base.json b/tests/dictionaries/01fill_optional/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01fill_optional/makedict/base.json rename to tests/dictionaries/01fill_optional/makedict/base.json diff --git a/tests/flattener_dicos/01fill_optional/tiramisu/__init__.py b/tests/dictionaries/01fill_optional/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01fill_optional/tiramisu/__init__.py rename to tests/dictionaries/01fill_optional/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01fill_optional/tiramisu/base.py b/tests/dictionaries/01fill_optional/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/01fill_optional/tiramisu/base.py rename to tests/dictionaries/01fill_optional/tiramisu/base.py index 4bde6b10..70b6d7d4 100644 --- a/tests/flattener_dicos/01fill_optional/tiramisu/base.py +++ b/tests/dictionaries/01fill_optional/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/01separator_base/00-base.xml b/tests/dictionaries/01separator_base/00-base.xml similarity index 100% rename from tests/flattener_dicos/01separator_base/00-base.xml rename to tests/dictionaries/01separator_base/00-base.xml diff --git a/tests/flattener_dicos/01separator_base/__init__.py b/tests/dictionaries/01separator_base/__init__.py similarity index 100% rename from tests/flattener_dicos/01separator_base/__init__.py rename to tests/dictionaries/01separator_base/__init__.py diff --git a/tests/flattener_dicos/01separator_base/makedict/base.json b/tests/dictionaries/01separator_base/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01separator_base/makedict/base.json rename to tests/dictionaries/01separator_base/makedict/base.json diff --git a/tests/flattener_dicos/01separator_base/tiramisu/__init__.py b/tests/dictionaries/01separator_base/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01separator_base/tiramisu/__init__.py rename to tests/dictionaries/01separator_base/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01separator_base/tiramisu/base.py b/tests/dictionaries/01separator_base/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/01separator_base/tiramisu/base.py rename to tests/dictionaries/01separator_base/tiramisu/base.py index 516f74b8..42b2bef1 100644 --- a/tests/flattener_dicos/01separator_base/tiramisu/base.py +++ b/tests/dictionaries/01separator_base/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3.impl_set_information("separator", "Établissement") option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) diff --git a/tests/flattener_dicos/01separator_neverhidden/00-base.xml b/tests/dictionaries/01separator_neverhidden/00-base.xml similarity index 100% rename from tests/flattener_dicos/01separator_neverhidden/00-base.xml rename to tests/dictionaries/01separator_neverhidden/00-base.xml diff --git a/tests/flattener_dicos/01separator_neverhidden/__init__.py b/tests/dictionaries/01separator_neverhidden/__init__.py similarity index 100% rename from tests/flattener_dicos/01separator_neverhidden/__init__.py rename to tests/dictionaries/01separator_neverhidden/__init__.py diff --git a/tests/flattener_dicos/01separator_neverhidden/makedict/base.json b/tests/dictionaries/01separator_neverhidden/makedict/base.json similarity index 100% rename from tests/flattener_dicos/01separator_neverhidden/makedict/base.json rename to tests/dictionaries/01separator_neverhidden/makedict/base.json diff --git a/tests/flattener_dicos/01separator_neverhidden/tiramisu/__init__.py b/tests/dictionaries/01separator_neverhidden/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/01separator_neverhidden/tiramisu/__init__.py rename to tests/dictionaries/01separator_neverhidden/tiramisu/__init__.py diff --git a/tests/flattener_dicos/01separator_neverhidden/tiramisu/base.py b/tests/dictionaries/01separator_neverhidden/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/01separator_neverhidden/tiramisu/base.py rename to tests/dictionaries/01separator_neverhidden/tiramisu/base.py index 516f74b8..42b2bef1 100644 --- a/tests/flattener_dicos/01separator_neverhidden/tiramisu/base.py +++ b/tests/dictionaries/01separator_neverhidden/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3.impl_set_information("separator", "Établissement") option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) diff --git a/tests/flattener_dicos/10autosave_hidden/00-base.xml b/tests/dictionaries/10autosave_hidden/00-base.xml similarity index 100% rename from tests/flattener_dicos/10autosave_hidden/00-base.xml rename to tests/dictionaries/10autosave_hidden/00-base.xml diff --git a/tests/flattener_dicos/10autosave_hidden/__init__.py b/tests/dictionaries/10autosave_hidden/__init__.py similarity index 100% rename from tests/flattener_dicos/10autosave_hidden/__init__.py rename to tests/dictionaries/10autosave_hidden/__init__.py diff --git a/tests/flattener_dicos/10autosave_hidden/makedict/base.json b/tests/dictionaries/10autosave_hidden/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10autosave_hidden/makedict/base.json rename to tests/dictionaries/10autosave_hidden/makedict/base.json diff --git a/tests/flattener_dicos/10autosave_hidden/tiramisu/__init__.py b/tests/dictionaries/10autosave_hidden/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10autosave_hidden/tiramisu/__init__.py rename to tests/dictionaries/10autosave_hidden/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10autosave_hidden/tiramisu/base.py b/tests/dictionaries/10autosave_hidden/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/10autosave_hidden/tiramisu/base.py rename to tests/dictionaries/10autosave_hidden/tiramisu/base.py index cd5be2c6..be3ee64b 100644 --- a/tests/flattener_dicos/10autosave_hidden/tiramisu/base.py +++ b/tests/dictionaries/10autosave_hidden/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = StrOption(properties=frozenset({'basic', 'force_store_value', 'frozen', 'hidden', 'mandatory'}), name='autosavevar', doc='autosave variable', multi=False, default=Calculation(func.calc_val, Params((ParamValue("oui")), kwargs={}))) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'basic'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/10autosave_hidden_frozenifin/00-base.xml b/tests/dictionaries/10autosave_hidden_frozenifin/00-base.xml similarity index 100% rename from tests/flattener_dicos/10autosave_hidden_frozenifin/00-base.xml rename to tests/dictionaries/10autosave_hidden_frozenifin/00-base.xml diff --git a/tests/flattener_dicos/10autosave_hidden_frozenifin/__init__.py b/tests/dictionaries/10autosave_hidden_frozenifin/__init__.py similarity index 100% rename from tests/flattener_dicos/10autosave_hidden_frozenifin/__init__.py rename to tests/dictionaries/10autosave_hidden_frozenifin/__init__.py diff --git a/tests/flattener_dicos/10autosave_hidden_frozenifin/makedict/base.json b/tests/dictionaries/10autosave_hidden_frozenifin/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10autosave_hidden_frozenifin/makedict/base.json rename to tests/dictionaries/10autosave_hidden_frozenifin/makedict/base.json diff --git a/tests/flattener_dicos/10autosave_hidden_frozenifin/tiramisu/__init__.py b/tests/dictionaries/10autosave_hidden_frozenifin/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10autosave_hidden_frozenifin/tiramisu/__init__.py rename to tests/dictionaries/10autosave_hidden_frozenifin/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10autosave_hidden_frozenifin/tiramisu/base.py b/tests/dictionaries/10autosave_hidden_frozenifin/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10autosave_hidden_frozenifin/tiramisu/base.py rename to tests/dictionaries/10autosave_hidden_frozenifin/tiramisu/base.py index 12d974df..940dec06 100644 --- a/tests/flattener_dicos/10autosave_hidden_frozenifin/tiramisu/base.py +++ b/tests/dictionaries/10autosave_hidden_frozenifin/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = StrOption(properties=frozenset({'basic', 'force_store_value', 'mandatory', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='autosavevar', doc='autosave variable', multi=False, default=Calculation(func.calc_val, Params((ParamValue("oui")), kwargs={}))) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'basic'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/10check_base/00-base.xml b/tests/dictionaries/10check_base/00-base.xml similarity index 100% rename from tests/flattener_dicos/10check_base/00-base.xml rename to tests/dictionaries/10check_base/00-base.xml diff --git a/tests/flattener_dicos/10check_base/__init__.py b/tests/dictionaries/10check_base/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_base/__init__.py rename to tests/dictionaries/10check_base/__init__.py diff --git a/tests/flattener_dicos/10check_base/makedict/base.json b/tests/dictionaries/10check_base/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10check_base/makedict/base.json rename to tests/dictionaries/10check_base/makedict/base.json diff --git a/tests/flattener_dicos/10check_base/tiramisu/__init__.py b/tests/dictionaries/10check_base/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_base/tiramisu/__init__.py rename to tests/dictionaries/10check_base/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10check_base/tiramisu/base.py b/tests/dictionaries/10check_base/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/10check_base/tiramisu/base.py rename to tests/dictionaries/10check_base/tiramisu/base.py index 51c4777a..0714a46a 100644 --- a/tests/flattener_dicos/10check_base/tiramisu/base.py +++ b/tests/dictionaries/10check_base/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='b') option_4 = IntOption(properties=frozenset({'normal'}), name='int', doc='No change', multi=False, max_number=100, min_number=0) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/10check_no_param/00-base.xml b/tests/dictionaries/10check_no_param/00-base.xml similarity index 100% rename from tests/flattener_dicos/10check_no_param/00-base.xml rename to tests/dictionaries/10check_no_param/00-base.xml diff --git a/tests/flattener_dicos/10check_no_param/__init__.py b/tests/dictionaries/10check_no_param/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_no_param/__init__.py rename to tests/dictionaries/10check_no_param/__init__.py diff --git a/tests/flattener_dicos/10check_no_param/makedict/base.json b/tests/dictionaries/10check_no_param/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10check_no_param/makedict/base.json rename to tests/dictionaries/10check_no_param/makedict/base.json diff --git a/tests/flattener_dicos/10check_no_param/tiramisu/__init__.py b/tests/dictionaries/10check_no_param/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_no_param/tiramisu/__init__.py rename to tests/dictionaries/10check_no_param/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10check_no_param/tiramisu/base.py b/tests/dictionaries/10check_no_param/tiramisu/base.py similarity index 90% rename from tests/flattener_dicos/10check_no_param/tiramisu/base.py rename to tests/dictionaries/10check_no_param/tiramisu/base.py index f0fade69..0f50c219 100644 --- a/tests/flattener_dicos/10check_no_param/tiramisu/base.py +++ b/tests/dictionaries/10check_no_param/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='b') option_4 = IntOption(properties=frozenset({'normal'}), validators=[Calculation(func.valid_lower, Params((ParamSelfOption()), kwargs={}), warnings_only=False)], name='int', doc='No change', multi=False) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/10check_option/00-base.xml b/tests/dictionaries/10check_option/00-base.xml similarity index 100% rename from tests/flattener_dicos/10check_option/00-base.xml rename to tests/dictionaries/10check_option/00-base.xml diff --git a/tests/flattener_dicos/10check_option/__init__.py b/tests/dictionaries/10check_option/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_option/__init__.py rename to tests/dictionaries/10check_option/__init__.py diff --git a/tests/flattener_dicos/10check_option/makedict/base.json b/tests/dictionaries/10check_option/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10check_option/makedict/base.json rename to tests/dictionaries/10check_option/makedict/base.json diff --git a/tests/flattener_dicos/10check_option/tiramisu/__init__.py b/tests/dictionaries/10check_option/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_option/tiramisu/__init__.py rename to tests/dictionaries/10check_option/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10check_option/tiramisu/base.py b/tests/dictionaries/10check_option/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10check_option/tiramisu/base.py rename to tests/dictionaries/10check_option/tiramisu/base.py index 4856560b..8aadae15 100644 --- a/tests/flattener_dicos/10check_option/tiramisu/base.py +++ b/tests/dictionaries/10check_option/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='b') option_4 = IntOption(properties=frozenset({'mandatory', 'normal'}), name='int2', doc='No change', multi=False, default=100) option_5 = IntOption(properties=frozenset({'normal'}), validators=[Calculation(func.valid_lower, Params((ParamSelfOption()), kwargs={'mini': ParamValue("0"), 'maxi': ParamOption(option_4, notraisepropertyerror=False, todict=False)}), warnings_only=False)], name='int', doc='No change', multi=False) diff --git a/tests/flattener_dicos/10check_optional/00-base.xml b/tests/dictionaries/10check_optional/00-base.xml similarity index 100% rename from tests/flattener_dicos/10check_optional/00-base.xml rename to tests/dictionaries/10check_optional/00-base.xml diff --git a/tests/flattener_dicos/10check_optional/__init__.py b/tests/dictionaries/10check_optional/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_optional/__init__.py rename to tests/dictionaries/10check_optional/__init__.py diff --git a/tests/flattener_dicos/10check_optional/makedict/base.json b/tests/dictionaries/10check_optional/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10check_optional/makedict/base.json rename to tests/dictionaries/10check_optional/makedict/base.json diff --git a/tests/flattener_dicos/10check_optional/tiramisu/__init__.py b/tests/dictionaries/10check_optional/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_optional/tiramisu/__init__.py rename to tests/dictionaries/10check_optional/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10check_optional/tiramisu/base.py b/tests/dictionaries/10check_optional/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10check_optional/tiramisu/base.py rename to tests/dictionaries/10check_optional/tiramisu/base.py index 6e665a3c..3f3624fd 100644 --- a/tests/flattener_dicos/10check_optional/tiramisu/base.py +++ b/tests/dictionaries/10check_optional/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='b') option_5 = IntOption(properties=frozenset({'normal'}), name='int2', doc='No change', multi=False) option_4 = IntOption(properties=frozenset({'normal'}), validators=[Calculation(func.valid_not_equal, Params((ParamSelfOption(), ParamOption(option_5, notraisepropertyerror=False, todict=False)), kwargs={}), warnings_only=False)], name='int', doc='No change', multi=False) diff --git a/tests/flattener_dicos/10check_valid_differ/00-base.xml b/tests/dictionaries/10check_valid_differ/00-base.xml similarity index 100% rename from tests/flattener_dicos/10check_valid_differ/00-base.xml rename to tests/dictionaries/10check_valid_differ/00-base.xml diff --git a/tests/flattener_dicos/10check_valid_differ/__init__.py b/tests/dictionaries/10check_valid_differ/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_valid_differ/__init__.py rename to tests/dictionaries/10check_valid_differ/__init__.py diff --git a/tests/flattener_dicos/10check_valid_differ/makedict/base.json b/tests/dictionaries/10check_valid_differ/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10check_valid_differ/makedict/base.json rename to tests/dictionaries/10check_valid_differ/makedict/base.json diff --git a/tests/flattener_dicos/10check_valid_differ/tiramisu/__init__.py b/tests/dictionaries/10check_valid_differ/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_valid_differ/tiramisu/__init__.py rename to tests/dictionaries/10check_valid_differ/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10check_valid_differ/tiramisu/base.py b/tests/dictionaries/10check_valid_differ/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10check_valid_differ/tiramisu/base.py rename to tests/dictionaries/10check_valid_differ/tiramisu/base.py index 2f3adf23..9f3dd4e1 100644 --- a/tests/flattener_dicos/10check_valid_differ/tiramisu/base.py +++ b/tests/dictionaries/10check_valid_differ/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), validators=[Calculation(func.valid_not_equal, Params((ParamSelfOption(), ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={}), warnings_only=False)], name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/10check_valid_differ_add/00-base.xml b/tests/dictionaries/10check_valid_differ_add/00-base.xml similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_add/00-base.xml rename to tests/dictionaries/10check_valid_differ_add/00-base.xml diff --git a/tests/flattener_dicos/10check_valid_differ_add/01-base.xml b/tests/dictionaries/10check_valid_differ_add/01-base.xml similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_add/01-base.xml rename to tests/dictionaries/10check_valid_differ_add/01-base.xml diff --git a/tests/flattener_dicos/10check_valid_differ_add/__init__.py b/tests/dictionaries/10check_valid_differ_add/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_add/__init__.py rename to tests/dictionaries/10check_valid_differ_add/__init__.py diff --git a/tests/flattener_dicos/10check_valid_differ_add/makedict/base.json b/tests/dictionaries/10check_valid_differ_add/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_add/makedict/base.json rename to tests/dictionaries/10check_valid_differ_add/makedict/base.json diff --git a/tests/flattener_dicos/10check_valid_differ_add/tiramisu/__init__.py b/tests/dictionaries/10check_valid_differ_add/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_add/tiramisu/__init__.py rename to tests/dictionaries/10check_valid_differ_add/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10check_valid_differ_add/tiramisu/base.py b/tests/dictionaries/10check_valid_differ_add/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10check_valid_differ_add/tiramisu/base.py rename to tests/dictionaries/10check_valid_differ_add/tiramisu/base.py index 140a8e5c..2a63d45e 100644 --- a/tests/flattener_dicos/10check_valid_differ_add/tiramisu/base.py +++ b/tests/dictionaries/10check_valid_differ_add/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10check_valid_differ_removecheck/00-base.xml b/tests/dictionaries/10check_valid_differ_removecheck/00-base.xml similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_removecheck/00-base.xml rename to tests/dictionaries/10check_valid_differ_removecheck/00-base.xml diff --git a/tests/flattener_dicos/10check_valid_differ_removecheck/01-base.xml b/tests/dictionaries/10check_valid_differ_removecheck/01-base.xml similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_removecheck/01-base.xml rename to tests/dictionaries/10check_valid_differ_removecheck/01-base.xml diff --git a/tests/flattener_dicos/10check_valid_differ_removecheck/__init__.py b/tests/dictionaries/10check_valid_differ_removecheck/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_removecheck/__init__.py rename to tests/dictionaries/10check_valid_differ_removecheck/__init__.py diff --git a/tests/flattener_dicos/10check_valid_differ_removecheck/makedict/base.json b/tests/dictionaries/10check_valid_differ_removecheck/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_removecheck/makedict/base.json rename to tests/dictionaries/10check_valid_differ_removecheck/makedict/base.json diff --git a/tests/flattener_dicos/10check_valid_differ_removecheck/tiramisu/__init__.py b/tests/dictionaries/10check_valid_differ_removecheck/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_valid_differ_removecheck/tiramisu/__init__.py rename to tests/dictionaries/10check_valid_differ_removecheck/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10check_valid_differ_removecheck/tiramisu/base.py b/tests/dictionaries/10check_valid_differ_removecheck/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10check_valid_differ_removecheck/tiramisu/base.py rename to tests/dictionaries/10check_valid_differ_removecheck/tiramisu/base.py index 140a8e5c..2a63d45e 100644 --- a/tests/flattener_dicos/10check_valid_differ_removecheck/tiramisu/base.py +++ b/tests/dictionaries/10check_valid_differ_removecheck/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10check_valid_ipnetmask/00-base.xml b/tests/dictionaries/10check_valid_ipnetmask/00-base.xml similarity index 100% rename from tests/flattener_dicos/10check_valid_ipnetmask/00-base.xml rename to tests/dictionaries/10check_valid_ipnetmask/00-base.xml diff --git a/tests/flattener_dicos/10check_valid_ipnetmask/__init__.py b/tests/dictionaries/10check_valid_ipnetmask/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_valid_ipnetmask/__init__.py rename to tests/dictionaries/10check_valid_ipnetmask/__init__.py diff --git a/tests/flattener_dicos/10check_valid_ipnetmask/makedict/base.json b/tests/dictionaries/10check_valid_ipnetmask/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10check_valid_ipnetmask/makedict/base.json rename to tests/dictionaries/10check_valid_ipnetmask/makedict/base.json diff --git a/tests/flattener_dicos/10check_valid_ipnetmask/tiramisu/__init__.py b/tests/dictionaries/10check_valid_ipnetmask/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10check_valid_ipnetmask/tiramisu/__init__.py rename to tests/dictionaries/10check_valid_ipnetmask/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10check_valid_ipnetmask/tiramisu/base.py b/tests/dictionaries/10check_valid_ipnetmask/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10check_valid_ipnetmask/tiramisu/base.py rename to tests/dictionaries/10check_valid_ipnetmask/tiramisu/base.py index d0f4a409..257a7fa8 100644 --- a/tests/flattener_dicos/10check_valid_ipnetmask/tiramisu/base.py +++ b/tests/dictionaries/10check_valid_ipnetmask/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_4 = IPOption(private_only=True, warnings_only=True, properties=frozenset({'basic', 'mandatory'}), name='adresse_ip_eth0', doc='Adresse IP de la carte', multi=False) option_5 = NetmaskOption(properties=frozenset({'basic', 'mandatory'}), validators=[Calculation(func.valid_ip_netmask, Params((ParamSelfOption(), ParamOption(option_4, notraisepropertyerror=False, todict=False)), kwargs={}), warnings_only=True)], name='adresse_netmask_eth0', doc='Masque de sous réseau de la carte', multi=False) diff --git a/tests/flattener_dicos/10leadership_append/00-base.xml b/tests/dictionaries/10leadership_append/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_append/00-base.xml rename to tests/dictionaries/10leadership_append/00-base.xml diff --git a/tests/flattener_dicos/10leadership_append/01-base.xml b/tests/dictionaries/10leadership_append/01-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_append/01-base.xml rename to tests/dictionaries/10leadership_append/01-base.xml diff --git a/tests/flattener_dicos/10leadership_append/__init__.py b/tests/dictionaries/10leadership_append/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_append/__init__.py rename to tests/dictionaries/10leadership_append/__init__.py diff --git a/tests/flattener_dicos/10leadership_append/makedict/base.json b/tests/dictionaries/10leadership_append/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_append/makedict/base.json rename to tests/dictionaries/10leadership_append/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_append/tiramisu/__init__.py b/tests/dictionaries/10leadership_append/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_append/tiramisu/__init__.py rename to tests/dictionaries/10leadership_append/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_append/tiramisu/base.py b/tests/dictionaries/10leadership_append/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10leadership_append/tiramisu/base.py rename to tests/dictionaries/10leadership_append/tiramisu/base.py index 031afd31..ddfd2f9d 100644 --- a/tests/flattener_dicos/10leadership_append/tiramisu/base.py +++ b/tests/dictionaries/10leadership_append/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_6 = StrOption(name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/10leadership_auto/00-base.xml b/tests/dictionaries/10leadership_auto/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_auto/00-base.xml rename to tests/dictionaries/10leadership_auto/00-base.xml diff --git a/tests/flattener_dicos/10leadership_auto/__init__.py b/tests/dictionaries/10leadership_auto/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_auto/__init__.py rename to tests/dictionaries/10leadership_auto/__init__.py diff --git a/tests/flattener_dicos/10leadership_auto/makedict/base.json b/tests/dictionaries/10leadership_auto/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_auto/makedict/base.json rename to tests/dictionaries/10leadership_auto/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_auto/tiramisu/__init__.py b/tests/dictionaries/10leadership_auto/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_auto/tiramisu/__init__.py rename to tests/dictionaries/10leadership_auto/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_auto/tiramisu/base.py b/tests/dictionaries/10leadership_auto/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/10leadership_auto/tiramisu/base.py rename to tests/dictionaries/10leadership_auto/tiramisu/base.py index 5f95d40d..e4d24aeb 100644 --- a/tests/flattener_dicos/10leadership_auto/tiramisu/base.py +++ b/tests/dictionaries/10leadership_auto/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = StrOption(name='leader', doc='leader', multi=True) option_6 = StrOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")}))) diff --git a/tests/flattener_dicos/10leadership_autoleader/00-base.xml b/tests/dictionaries/10leadership_autoleader/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_autoleader/00-base.xml rename to tests/dictionaries/10leadership_autoleader/00-base.xml diff --git a/tests/flattener_dicos/10leadership_autoleader/__init__.py b/tests/dictionaries/10leadership_autoleader/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_autoleader/__init__.py rename to tests/dictionaries/10leadership_autoleader/__init__.py diff --git a/tests/flattener_dicos/10leadership_autoleader/makedict/base.json b/tests/dictionaries/10leadership_autoleader/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_autoleader/makedict/base.json rename to tests/dictionaries/10leadership_autoleader/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_autoleader/tiramisu/__init__.py b/tests/dictionaries/10leadership_autoleader/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_autoleader/tiramisu/__init__.py rename to tests/dictionaries/10leadership_autoleader/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_autoleader/tiramisu/base.py b/tests/dictionaries/10leadership_autoleader/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10leadership_autoleader/tiramisu/base.py rename to tests/dictionaries/10leadership_autoleader/tiramisu/base.py index b8c12fbb..6448449f 100644 --- a/tests/flattener_dicos/10leadership_autoleader/tiramisu/base.py +++ b/tests/dictionaries/10leadership_autoleader/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = StrOption(name='leader', doc='leader', multi=True) option_6 = StrOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")}))) diff --git a/tests/flattener_dicos/10leadership_autoleader_expert/00-base.xml b/tests/dictionaries/10leadership_autoleader_expert/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_autoleader_expert/00-base.xml rename to tests/dictionaries/10leadership_autoleader_expert/00-base.xml diff --git a/tests/flattener_dicos/10leadership_autoleader_expert/__init__.py b/tests/dictionaries/10leadership_autoleader_expert/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_autoleader_expert/__init__.py rename to tests/dictionaries/10leadership_autoleader_expert/__init__.py diff --git a/tests/flattener_dicos/10leadership_autoleader_expert/makedict/base.json b/tests/dictionaries/10leadership_autoleader_expert/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_autoleader_expert/makedict/base.json rename to tests/dictionaries/10leadership_autoleader_expert/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_autoleader_expert/tiramisu/__init__.py b/tests/dictionaries/10leadership_autoleader_expert/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_autoleader_expert/tiramisu/__init__.py rename to tests/dictionaries/10leadership_autoleader_expert/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_autoleader_expert/tiramisu/base.py b/tests/dictionaries/10leadership_autoleader_expert/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10leadership_autoleader_expert/tiramisu/base.py rename to tests/dictionaries/10leadership_autoleader_expert/tiramisu/base.py index 92137f38..d6b8f5a7 100644 --- a/tests/flattener_dicos/10leadership_autoleader_expert/tiramisu/base.py +++ b/tests/dictionaries/10leadership_autoleader_expert/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_6 = StrOption(properties=frozenset({'mandatory'}), name='leader', doc='leader', multi=True, default=Calculation(func.calc_list, Params((), kwargs={'valeur': ParamValue("valfill")}))) diff --git a/tests/flattener_dicos/10leadership_autosaveexpert/00-base.xml b/tests/dictionaries/10leadership_autosaveexpert/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_autosaveexpert/00-base.xml rename to tests/dictionaries/10leadership_autosaveexpert/00-base.xml diff --git a/tests/flattener_dicos/10leadership_autosaveexpert/__init__.py b/tests/dictionaries/10leadership_autosaveexpert/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_autosaveexpert/__init__.py rename to tests/dictionaries/10leadership_autosaveexpert/__init__.py diff --git a/tests/flattener_dicos/10leadership_autosaveexpert/makedict/base.json b/tests/dictionaries/10leadership_autosaveexpert/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_autosaveexpert/makedict/base.json rename to tests/dictionaries/10leadership_autosaveexpert/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_autosaveexpert/tiramisu/__init__.py b/tests/dictionaries/10leadership_autosaveexpert/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_autosaveexpert/tiramisu/__init__.py rename to tests/dictionaries/10leadership_autosaveexpert/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_autosaveexpert/tiramisu/base.py b/tests/dictionaries/10leadership_autosaveexpert/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10leadership_autosaveexpert/tiramisu/base.py rename to tests/dictionaries/10leadership_autosaveexpert/tiramisu/base.py index 902d56e0..61734425 100644 --- a/tests/flattener_dicos/10leadership_autosaveexpert/tiramisu/base.py +++ b/tests/dictionaries/10leadership_autosaveexpert/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = StrOption(name='leader', doc='leader', multi=True) option_6 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")}))) diff --git a/tests/flattener_dicos/10leadership_familyaccent/00-base.xml b/tests/dictionaries/10leadership_familyaccent/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_familyaccent/00-base.xml rename to tests/dictionaries/10leadership_familyaccent/00-base.xml diff --git a/tests/flattener_dicos/10leadership_familyaccent/__init__.py b/tests/dictionaries/10leadership_familyaccent/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_familyaccent/__init__.py rename to tests/dictionaries/10leadership_familyaccent/__init__.py diff --git a/tests/flattener_dicos/10leadership_familyaccent/makedict/base.json b/tests/dictionaries/10leadership_familyaccent/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_familyaccent/makedict/base.json rename to tests/dictionaries/10leadership_familyaccent/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_familyaccent/tiramisu/__init__.py b/tests/dictionaries/10leadership_familyaccent/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_familyaccent/tiramisu/__init__.py rename to tests/dictionaries/10leadership_familyaccent/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_familyaccent/tiramisu/base.py b/tests/dictionaries/10leadership_familyaccent/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10leadership_familyaccent/tiramisu/base.py rename to tests/dictionaries/10leadership_familyaccent/tiramisu/base.py index e2974971..37283384 100644 --- a/tests/flattener_dicos/10leadership_familyaccent/tiramisu/base.py +++ b/tests/dictionaries/10leadership_familyaccent/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = StrOption(name='leader', doc='leader', multi=True) option_6 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")}))) diff --git a/tests/flattener_dicos/10leadership_leader_hidden/00-base.xml b/tests/dictionaries/10leadership_leader_hidden/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_leader_hidden/00-base.xml rename to tests/dictionaries/10leadership_leader_hidden/00-base.xml diff --git a/tests/flattener_dicos/10leadership_leader_hidden/__init__.py b/tests/dictionaries/10leadership_leader_hidden/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_leader_hidden/__init__.py rename to tests/dictionaries/10leadership_leader_hidden/__init__.py diff --git a/tests/flattener_dicos/10leadership_leader_hidden/makedict/base.json b/tests/dictionaries/10leadership_leader_hidden/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_leader_hidden/makedict/base.json rename to tests/dictionaries/10leadership_leader_hidden/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_leader_hidden/tiramisu/__init__.py b/tests/dictionaries/10leadership_leader_hidden/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_leader_hidden/tiramisu/__init__.py rename to tests/dictionaries/10leadership_leader_hidden/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_leader_hidden/tiramisu/base.py b/tests/dictionaries/10leadership_leader_hidden/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10leadership_leader_hidden/tiramisu/base.py rename to tests/dictionaries/10leadership_leader_hidden/tiramisu/base.py index 2ffcd10a..d22e7706 100644 --- a/tests/flattener_dicos/10leadership_leader_hidden/tiramisu/base.py +++ b/tests/dictionaries/10leadership_leader_hidden/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_6 = StrOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'mandatory'}), name='leader', doc='leader', multi=True, default=Calculation(func.calc_list, Params((), kwargs={'valeur': ParamValue("valfill")}))) diff --git a/tests/flattener_dicos/10leadership_leader_hidden_if_in/00-base.xml b/tests/dictionaries/10leadership_leader_hidden_if_in/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_leader_hidden_if_in/00-base.xml rename to tests/dictionaries/10leadership_leader_hidden_if_in/00-base.xml diff --git a/tests/flattener_dicos/10leadership_leader_hidden_if_in/__init__.py b/tests/dictionaries/10leadership_leader_hidden_if_in/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_leader_hidden_if_in/__init__.py rename to tests/dictionaries/10leadership_leader_hidden_if_in/__init__.py diff --git a/tests/flattener_dicos/10leadership_leader_hidden_if_in/makedict/base.json b/tests/dictionaries/10leadership_leader_hidden_if_in/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_leader_hidden_if_in/makedict/base.json rename to tests/dictionaries/10leadership_leader_hidden_if_in/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_leader_hidden_if_in/tiramisu/__init__.py b/tests/dictionaries/10leadership_leader_hidden_if_in/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_leader_hidden_if_in/tiramisu/__init__.py rename to tests/dictionaries/10leadership_leader_hidden_if_in/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_leader_hidden_if_in/tiramisu/base.py b/tests/dictionaries/10leadership_leader_hidden_if_in/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/10leadership_leader_hidden_if_in/tiramisu/base.py rename to tests/dictionaries/10leadership_leader_hidden_if_in/tiramisu/base.py index aad34385..1af8dc0e 100644 --- a/tests/flattener_dicos/10leadership_leader_hidden_if_in/tiramisu/base.py +++ b/tests/dictionaries/10leadership_leader_hidden_if_in/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_6 = StrOption(properties=frozenset({Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('non')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('non')}))}), name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/10leadership_leadermandatory/00-base.xml b/tests/dictionaries/10leadership_leadermandatory/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_leadermandatory/00-base.xml rename to tests/dictionaries/10leadership_leadermandatory/00-base.xml diff --git a/tests/flattener_dicos/10leadership_leadermandatory/__init__.py b/tests/dictionaries/10leadership_leadermandatory/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_leadermandatory/__init__.py rename to tests/dictionaries/10leadership_leadermandatory/__init__.py diff --git a/tests/flattener_dicos/10leadership_leadermandatory/makedict/base.json b/tests/dictionaries/10leadership_leadermandatory/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_leadermandatory/makedict/base.json rename to tests/dictionaries/10leadership_leadermandatory/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_leadermandatory/tiramisu/__init__.py b/tests/dictionaries/10leadership_leadermandatory/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_leadermandatory/tiramisu/__init__.py rename to tests/dictionaries/10leadership_leadermandatory/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_leadermandatory/tiramisu/base.py b/tests/dictionaries/10leadership_leadermandatory/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10leadership_leadermandatory/tiramisu/base.py rename to tests/dictionaries/10leadership_leadermandatory/tiramisu/base.py index 9aecedf3..510fe5d1 100644 --- a/tests/flattener_dicos/10leadership_leadermandatory/tiramisu/base.py +++ b/tests/dictionaries/10leadership_leadermandatory/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = StrOption(properties=frozenset({'mandatory'}), name='leader', doc='leader', multi=True) option_6 = StrOption(properties=frozenset({'basic', 'mandatory'}), name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")}))) diff --git a/tests/flattener_dicos/10leadership_mandatory/00-base.xml b/tests/dictionaries/10leadership_mandatory/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_mandatory/00-base.xml rename to tests/dictionaries/10leadership_mandatory/00-base.xml diff --git a/tests/flattener_dicos/10leadership_mandatory/__init__.py b/tests/dictionaries/10leadership_mandatory/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_mandatory/__init__.py rename to tests/dictionaries/10leadership_mandatory/__init__.py diff --git a/tests/flattener_dicos/10leadership_mandatory/makedict/base.json b/tests/dictionaries/10leadership_mandatory/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_mandatory/makedict/base.json rename to tests/dictionaries/10leadership_mandatory/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_mandatory/tiramisu/__init__.py b/tests/dictionaries/10leadership_mandatory/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_mandatory/tiramisu/__init__.py rename to tests/dictionaries/10leadership_mandatory/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_mandatory/tiramisu/base.py b/tests/dictionaries/10leadership_mandatory/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10leadership_mandatory/tiramisu/base.py rename to tests/dictionaries/10leadership_mandatory/tiramisu/base.py index 74d1555f..f1e8f406 100644 --- a/tests/flattener_dicos/10leadership_mandatory/tiramisu/base.py +++ b/tests/dictionaries/10leadership_mandatory/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = StrOption(name='leader', doc='leader', multi=True) option_6 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='follower1', doc='follower1', multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")}))) diff --git a/tests/flattener_dicos/10leadership_mandatoryfollower/00-base.xml b/tests/dictionaries/10leadership_mandatoryfollower/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_mandatoryfollower/00-base.xml rename to tests/dictionaries/10leadership_mandatoryfollower/00-base.xml diff --git a/tests/flattener_dicos/10leadership_mandatoryfollower/__init__.py b/tests/dictionaries/10leadership_mandatoryfollower/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_mandatoryfollower/__init__.py rename to tests/dictionaries/10leadership_mandatoryfollower/__init__.py diff --git a/tests/flattener_dicos/10leadership_mandatoryfollower/makedict/base.json b/tests/dictionaries/10leadership_mandatoryfollower/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_mandatoryfollower/makedict/base.json rename to tests/dictionaries/10leadership_mandatoryfollower/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_mandatoryfollower/tiramisu/__init__.py b/tests/dictionaries/10leadership_mandatoryfollower/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_mandatoryfollower/tiramisu/__init__.py rename to tests/dictionaries/10leadership_mandatoryfollower/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_mandatoryfollower/tiramisu/base.py b/tests/dictionaries/10leadership_mandatoryfollower/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10leadership_mandatoryfollower/tiramisu/base.py rename to tests/dictionaries/10leadership_mandatoryfollower/tiramisu/base.py index 36f159e1..80fde6fc 100644 --- a/tests/flattener_dicos/10leadership_mandatoryfollower/tiramisu/base.py +++ b/tests/dictionaries/10leadership_mandatoryfollower/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_5 = NetmaskOption(name='nut_monitor_netmask', doc='Masque de l\'IP du réseau de l\'esclave', multi=True) option_6 = NetworkOption(properties=frozenset({'mandatory', 'normal'}), name='nut_monitor_host', doc='Adresse IP du réseau de l\'esclave', multi=True) diff --git a/tests/flattener_dicos/10leadership_multi/00-base.xml b/tests/dictionaries/10leadership_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/10leadership_multi/00-base.xml rename to tests/dictionaries/10leadership_multi/00-base.xml diff --git a/tests/flattener_dicos/10leadership_multi/__init__.py b/tests/dictionaries/10leadership_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_multi/__init__.py rename to tests/dictionaries/10leadership_multi/__init__.py diff --git a/tests/flattener_dicos/10leadership_multi/makedict/base.json b/tests/dictionaries/10leadership_multi/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10leadership_multi/makedict/base.json rename to tests/dictionaries/10leadership_multi/makedict/base.json diff --git a/tests/flattener_dicos/10leadership_multi/tiramisu/__init__.py b/tests/dictionaries/10leadership_multi/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10leadership_multi/tiramisu/__init__.py rename to tests/dictionaries/10leadership_multi/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10leadership_multi/tiramisu/base.py b/tests/dictionaries/10leadership_multi/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/10leadership_multi/tiramisu/base.py rename to tests/dictionaries/10leadership_multi/tiramisu/base.py index 7e92cabd..a602ea8a 100644 --- a/tests/flattener_dicos/10leadership_multi/tiramisu/base.py +++ b/tests/dictionaries/10leadership_multi/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_6 = StrOption(name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/10load_disabled_if_in/00-base.xml b/tests/dictionaries/10load_disabled_if_in/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_in/00-base.xml rename to tests/dictionaries/10load_disabled_if_in/00-base.xml diff --git a/tests/flattener_dicos/10load_disabled_if_in/__init__.py b/tests/dictionaries/10load_disabled_if_in/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_in/__init__.py rename to tests/dictionaries/10load_disabled_if_in/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_in/makedict/base.json b/tests/dictionaries/10load_disabled_if_in/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_in/makedict/base.json rename to tests/dictionaries/10load_disabled_if_in/makedict/base.json diff --git a/tests/flattener_dicos/10load_disabled_if_in/tiramisu/__init__.py b/tests/dictionaries/10load_disabled_if_in/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_in/tiramisu/__init__.py rename to tests/dictionaries/10load_disabled_if_in/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_in/tiramisu/base.py b/tests/dictionaries/10load_disabled_if_in/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_disabled_if_in/tiramisu/base.py rename to tests/dictionaries/10load_disabled_if_in/tiramisu/base.py index fdb9d2fe..63688927 100644 --- a/tests/flattener_dicos/10load_disabled_if_in/tiramisu/base.py +++ b/tests/dictionaries/10load_disabled_if_in/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_disabled_if_in_none/00-base.xml b/tests/dictionaries/10load_disabled_if_in_none/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_in_none/00-base.xml rename to tests/dictionaries/10load_disabled_if_in_none/00-base.xml diff --git a/tests/flattener_dicos/10load_disabled_if_in_none/__init__.py b/tests/dictionaries/10load_disabled_if_in_none/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_in_none/__init__.py rename to tests/dictionaries/10load_disabled_if_in_none/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_in_none/makedict/base.json b/tests/dictionaries/10load_disabled_if_in_none/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_in_none/makedict/base.json rename to tests/dictionaries/10load_disabled_if_in_none/makedict/base.json diff --git a/tests/flattener_dicos/10load_disabled_if_in_none/tiramisu/__init__.py b/tests/dictionaries/10load_disabled_if_in_none/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_in_none/tiramisu/__init__.py rename to tests/dictionaries/10load_disabled_if_in_none/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_in_none/tiramisu/base.py b/tests/dictionaries/10load_disabled_if_in_none/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_disabled_if_in_none/tiramisu/base.py rename to tests/dictionaries/10load_disabled_if_in_none/tiramisu/base.py index 7b7a3de4..bbbbd68c 100644 --- a/tests/flattener_dicos/10load_disabled_if_in_none/tiramisu/base.py +++ b/tests/dictionaries/10load_disabled_if_in_none/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non') option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('None')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('None')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_disabled_if_inaccent_family/00-base.xml b/tests/dictionaries/10load_disabled_if_inaccent_family/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_inaccent_family/00-base.xml rename to tests/dictionaries/10load_disabled_if_inaccent_family/00-base.xml diff --git a/tests/flattener_dicos/10load_disabled_if_inaccent_family/__init__.py b/tests/dictionaries/10load_disabled_if_inaccent_family/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_inaccent_family/__init__.py rename to tests/dictionaries/10load_disabled_if_inaccent_family/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_inaccent_family/makedict/base.json b/tests/dictionaries/10load_disabled_if_inaccent_family/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_inaccent_family/makedict/base.json rename to tests/dictionaries/10load_disabled_if_inaccent_family/makedict/base.json diff --git a/tests/flattener_dicos/10load_disabled_if_inaccent_family/tiramisu/__init__.py b/tests/dictionaries/10load_disabled_if_inaccent_family/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_inaccent_family/tiramisu/__init__.py rename to tests/dictionaries/10load_disabled_if_inaccent_family/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_inaccent_family/tiramisu/base.py b/tests/dictionaries/10load_disabled_if_inaccent_family/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/10load_disabled_if_inaccent_family/tiramisu/base.py rename to tests/dictionaries/10load_disabled_if_inaccent_family/tiramisu/base.py index 4d2654eb..9392126d 100644 --- a/tests/flattener_dicos/10load_disabled_if_inaccent_family/tiramisu/base.py +++ b/tests/dictionaries/10load_disabled_if_inaccent_family/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback/00-base.xml b/tests/dictionaries/10load_disabled_if_not_in_fallback/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback/00-base.xml rename to tests/dictionaries/10load_disabled_if_not_in_fallback/00-base.xml diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback/__init__.py b/tests/dictionaries/10load_disabled_if_not_in_fallback/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback/__init__.py rename to tests/dictionaries/10load_disabled_if_not_in_fallback/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback/makedict/base.json b/tests/dictionaries/10load_disabled_if_not_in_fallback/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback/makedict/base.json rename to tests/dictionaries/10load_disabled_if_not_in_fallback/makedict/base.json diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback/tiramisu/__init__.py b/tests/dictionaries/10load_disabled_if_not_in_fallback/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback/tiramisu/__init__.py rename to tests/dictionaries/10load_disabled_if_not_in_fallback/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback/tiramisu/base.py b/tests/dictionaries/10load_disabled_if_not_in_fallback/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback/tiramisu/base.py rename to tests/dictionaries/10load_disabled_if_not_in_fallback/tiramisu/base.py index 1cb4f992..88f27ba3 100644 --- a/tests/flattener_dicos/10load_disabled_if_not_in_fallback/tiramisu/base.py +++ b/tests/dictionaries/10load_disabled_if_not_in_fallback/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/00-base.xml b/tests/dictionaries/10load_disabled_if_not_in_fallback_force/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/00-base.xml rename to tests/dictionaries/10load_disabled_if_not_in_fallback_force/00-base.xml diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/__init__.py b/tests/dictionaries/10load_disabled_if_not_in_fallback_force/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/__init__.py rename to tests/dictionaries/10load_disabled_if_not_in_fallback_force/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/makedict/base.json b/tests/dictionaries/10load_disabled_if_not_in_fallback_force/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/makedict/base.json rename to tests/dictionaries/10load_disabled_if_not_in_fallback_force/makedict/base.json diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/tiramisu/__init__.py b/tests/dictionaries/10load_disabled_if_not_in_fallback_force/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/tiramisu/__init__.py rename to tests/dictionaries/10load_disabled_if_not_in_fallback_force/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/tiramisu/base.py b/tests/dictionaries/10load_disabled_if_not_in_fallback_force/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/tiramisu/base.py rename to tests/dictionaries/10load_disabled_if_not_in_fallback_force/tiramisu/base.py index 1cb4f992..88f27ba3 100644 --- a/tests/flattener_dicos/10load_disabled_if_not_in_fallback_force/tiramisu/base.py +++ b/tests/dictionaries/10load_disabled_if_not_in_fallback_force/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_disabledifin_fallback/00-base.xml b/tests/dictionaries/10load_disabledifin_fallback/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_fallback/00-base.xml rename to tests/dictionaries/10load_disabledifin_fallback/00-base.xml diff --git a/tests/flattener_dicos/10load_disabledifin_fallback/__init__.py b/tests/dictionaries/10load_disabledifin_fallback/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_fallback/__init__.py rename to tests/dictionaries/10load_disabledifin_fallback/__init__.py diff --git a/tests/flattener_dicos/10load_disabledifin_fallback/makedict/base.json b/tests/dictionaries/10load_disabledifin_fallback/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_fallback/makedict/base.json rename to tests/dictionaries/10load_disabledifin_fallback/makedict/base.json diff --git a/tests/flattener_dicos/10load_disabledifin_fallback/tiramisu/__init__.py b/tests/dictionaries/10load_disabledifin_fallback/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_fallback/tiramisu/__init__.py rename to tests/dictionaries/10load_disabledifin_fallback/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_disabledifin_fallback/tiramisu/base.py b/tests/dictionaries/10load_disabledifin_fallback/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10load_disabledifin_fallback/tiramisu/base.py rename to tests/dictionaries/10load_disabledifin_fallback/tiramisu/base.py index 5f6bd6ad..d90a098b 100644 --- a/tests/flattener_dicos/10load_disabledifin_fallback/tiramisu/base.py +++ b/tests/dictionaries/10load_disabledifin_fallback/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'disabled', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_disabledifin_fallback_force/00-base.xml b/tests/dictionaries/10load_disabledifin_fallback_force/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_fallback_force/00-base.xml rename to tests/dictionaries/10load_disabledifin_fallback_force/00-base.xml diff --git a/tests/flattener_dicos/10load_disabledifin_fallback_force/__init__.py b/tests/dictionaries/10load_disabledifin_fallback_force/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_fallback_force/__init__.py rename to tests/dictionaries/10load_disabledifin_fallback_force/__init__.py diff --git a/tests/flattener_dicos/10load_disabledifin_fallback_force/makedict/base.json b/tests/dictionaries/10load_disabledifin_fallback_force/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_fallback_force/makedict/base.json rename to tests/dictionaries/10load_disabledifin_fallback_force/makedict/base.json diff --git a/tests/flattener_dicos/10load_disabledifin_fallback_force/tiramisu/__init__.py b/tests/dictionaries/10load_disabledifin_fallback_force/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_fallback_force/tiramisu/__init__.py rename to tests/dictionaries/10load_disabledifin_fallback_force/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_disabledifin_whithouttype/tiramisu/base.py b/tests/dictionaries/10load_disabledifin_fallback_force/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_disabledifin_whithouttype/tiramisu/base.py rename to tests/dictionaries/10load_disabledifin_fallback_force/tiramisu/base.py index 54bc2716..202d3967 100644 --- a/tests/flattener_dicos/10load_disabledifin_whithouttype/tiramisu/base.py +++ b/tests/dictionaries/10load_disabledifin_fallback_force/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_disabledifin_whithouttype/00-base.xml b/tests/dictionaries/10load_disabledifin_whithouttype/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_whithouttype/00-base.xml rename to tests/dictionaries/10load_disabledifin_whithouttype/00-base.xml diff --git a/tests/flattener_dicos/10load_disabledifin_whithouttype/__init__.py b/tests/dictionaries/10load_disabledifin_whithouttype/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_whithouttype/__init__.py rename to tests/dictionaries/10load_disabledifin_whithouttype/__init__.py diff --git a/tests/flattener_dicos/10load_disabledifin_whithouttype/makedict/base.json b/tests/dictionaries/10load_disabledifin_whithouttype/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_whithouttype/makedict/base.json rename to tests/dictionaries/10load_disabledifin_whithouttype/makedict/base.json diff --git a/tests/flattener_dicos/10load_disabledifin_whithouttype/tiramisu/__init__.py b/tests/dictionaries/10load_disabledifin_whithouttype/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_disabledifin_whithouttype/tiramisu/__init__.py rename to tests/dictionaries/10load_disabledifin_whithouttype/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_disabledifin_fallback_force/tiramisu/base.py b/tests/dictionaries/10load_disabledifin_whithouttype/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_disabledifin_fallback_force/tiramisu/base.py rename to tests/dictionaries/10load_disabledifin_whithouttype/tiramisu/base.py index 54bc2716..202d3967 100644 --- a/tests/flattener_dicos/10load_disabledifin_fallback_force/tiramisu/base.py +++ b/tests/dictionaries/10load_disabledifin_whithouttype/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_emptyvalue/00-base.xml b/tests/dictionaries/10load_emptyvalue/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_emptyvalue/00-base.xml rename to tests/dictionaries/10load_emptyvalue/00-base.xml diff --git a/tests/flattener_dicos/10load_emptyvalue/__init__.py b/tests/dictionaries/10load_emptyvalue/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_emptyvalue/__init__.py rename to tests/dictionaries/10load_emptyvalue/__init__.py diff --git a/tests/flattener_dicos/10load_emptyvalue/makedict/base.json b/tests/dictionaries/10load_emptyvalue/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_emptyvalue/makedict/base.json rename to tests/dictionaries/10load_emptyvalue/makedict/base.json diff --git a/tests/flattener_dicos/10load_emptyvalue/tiramisu/__init__.py b/tests/dictionaries/10load_emptyvalue/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_emptyvalue/tiramisu/__init__.py rename to tests/dictionaries/10load_emptyvalue/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_emptyvalue/tiramisu/base.py b/tests/dictionaries/10load_emptyvalue/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/10load_emptyvalue/tiramisu/base.py rename to tests/dictionaries/10load_emptyvalue/tiramisu/base.py index 5462f47e..b71f0692 100644 --- a/tests/flattener_dicos/10load_emptyvalue/tiramisu/base.py +++ b/tests/dictionaries/10load_emptyvalue/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'normal'}), name='mode_conteneur_actif', doc='No change', multi=False) option_4 = StrOption(properties=frozenset({'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/10load_frozenifin/00-base.xml b/tests/dictionaries/10load_frozenifin/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_frozenifin/00-base.xml rename to tests/dictionaries/10load_frozenifin/00-base.xml diff --git a/tests/flattener_dicos/10load_frozenifin/__init__.py b/tests/dictionaries/10load_frozenifin/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_frozenifin/__init__.py rename to tests/dictionaries/10load_frozenifin/__init__.py diff --git a/tests/flattener_dicos/10load_frozenifin/makedict/base.json b/tests/dictionaries/10load_frozenifin/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_frozenifin/makedict/base.json rename to tests/dictionaries/10load_frozenifin/makedict/base.json diff --git a/tests/flattener_dicos/10load_frozenifin/tiramisu/__init__.py b/tests/dictionaries/10load_frozenifin/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_frozenifin/tiramisu/__init__.py rename to tests/dictionaries/10load_frozenifin/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_frozenifin/tiramisu/base.py b/tests/dictionaries/10load_frozenifin/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/10load_frozenifin/tiramisu/base.py rename to tests/dictionaries/10load_frozenifin/tiramisu/base.py index 1713665b..7fc798c3 100644 --- a/tests/flattener_dicos/10load_frozenifin/tiramisu/base.py +++ b/tests/dictionaries/10load_frozenifin/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_frozenifin_auto/00-base.xml b/tests/dictionaries/10load_frozenifin_auto/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_auto/00-base.xml rename to tests/dictionaries/10load_frozenifin_auto/00-base.xml diff --git a/tests/flattener_dicos/10load_frozenifin_auto/__init__.py b/tests/dictionaries/10load_frozenifin_auto/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_auto/__init__.py rename to tests/dictionaries/10load_frozenifin_auto/__init__.py diff --git a/tests/flattener_dicos/10load_frozenifin_auto/makedict/base.json b/tests/dictionaries/10load_frozenifin_auto/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_auto/makedict/base.json rename to tests/dictionaries/10load_frozenifin_auto/makedict/base.json diff --git a/tests/flattener_dicos/10load_frozenifin_auto/tiramisu/__init__.py b/tests/dictionaries/10load_frozenifin_auto/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_auto/tiramisu/__init__.py rename to tests/dictionaries/10load_frozenifin_auto/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_frozenifin_auto/tiramisu/base.py b/tests/dictionaries/10load_frozenifin_auto/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/10load_frozenifin_auto/tiramisu/base.py rename to tests/dictionaries/10load_frozenifin_auto/tiramisu/base.py index 2bef0647..afa70831 100644 --- a/tests/flattener_dicos/10load_frozenifin_auto/tiramisu/base.py +++ b/tests/dictionaries/10load_frozenifin_auto/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamValue("non")), kwargs={})), values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_frozenifin_multiparam/00-base.xml b/tests/dictionaries/10load_frozenifin_multiparam/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_multiparam/00-base.xml rename to tests/dictionaries/10load_frozenifin_multiparam/00-base.xml diff --git a/tests/flattener_dicos/10load_frozenifin_multiparam/__init__.py b/tests/dictionaries/10load_frozenifin_multiparam/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_multiparam/__init__.py rename to tests/dictionaries/10load_frozenifin_multiparam/__init__.py diff --git a/tests/flattener_dicos/10load_frozenifin_multiparam/makedict/base.json b/tests/dictionaries/10load_frozenifin_multiparam/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_multiparam/makedict/base.json rename to tests/dictionaries/10load_frozenifin_multiparam/makedict/base.json diff --git a/tests/flattener_dicos/10load_frozenifin_multiparam/tiramisu/__init__.py b/tests/dictionaries/10load_frozenifin_multiparam/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_multiparam/tiramisu/__init__.py rename to tests/dictionaries/10load_frozenifin_multiparam/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_frozenifin_multiparam/tiramisu/base.py b/tests/dictionaries/10load_frozenifin_multiparam/tiramisu/base.py similarity index 97% rename from tests/flattener_dicos/10load_frozenifin_multiparam/tiramisu/base.py rename to tests/dictionaries/10load_frozenifin_multiparam/tiramisu/base.py index e65e2035..90bd320c 100644 --- a/tests/flattener_dicos/10load_frozenifin_multiparam/tiramisu/base.py +++ b/tests/dictionaries/10load_frozenifin_multiparam/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='tous', values=('tous', 'authentifié', 'aucun')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('tous')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('tous')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('tous')})), Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('authentifié')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('authentifié')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('authentifié')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('tous')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('tous')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('tous')})), Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('authentifié')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('authentifié')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('authentifié')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_frozenifin_noexist/00-base.xml b/tests/dictionaries/10load_frozenifin_noexist/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_noexist/00-base.xml rename to tests/dictionaries/10load_frozenifin_noexist/00-base.xml diff --git a/tests/flattener_dicos/10load_frozenifin_noexist/__init__.py b/tests/dictionaries/10load_frozenifin_noexist/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_noexist/__init__.py rename to tests/dictionaries/10load_frozenifin_noexist/__init__.py diff --git a/tests/flattener_dicos/10load_frozenifin_noexist/makedict/base.json b/tests/dictionaries/10load_frozenifin_noexist/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_noexist/makedict/base.json rename to tests/dictionaries/10load_frozenifin_noexist/makedict/base.json diff --git a/tests/flattener_dicos/10load_frozenifin_noexist/tiramisu/__init__.py b/tests/dictionaries/10load_frozenifin_noexist/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_frozenifin_noexist/tiramisu/__init__.py rename to tests/dictionaries/10load_frozenifin_noexist/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_frozenifin_noexist/tiramisu/base.py b/tests/dictionaries/10load_frozenifin_noexist/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10load_frozenifin_noexist/tiramisu/base.py rename to tests/dictionaries/10load_frozenifin_noexist/tiramisu/base.py index 377968df..4882df10 100644 --- a/tests/flattener_dicos/10load_frozenifin_noexist/tiramisu/base.py +++ b/tests/dictionaries/10load_frozenifin_noexist/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='tous', values=('tous', 'authentifié', 'aucun')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_hidden_if_family/00-base.xml b/tests/dictionaries/10load_hidden_if_family/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_hidden_if_family/00-base.xml rename to tests/dictionaries/10load_hidden_if_family/00-base.xml diff --git a/tests/flattener_dicos/10load_hidden_if_family/__init__.py b/tests/dictionaries/10load_hidden_if_family/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_hidden_if_family/__init__.py rename to tests/dictionaries/10load_hidden_if_family/__init__.py diff --git a/tests/flattener_dicos/10load_hidden_if_family/makedict/base.json b/tests/dictionaries/10load_hidden_if_family/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_hidden_if_family/makedict/base.json rename to tests/dictionaries/10load_hidden_if_family/makedict/base.json diff --git a/tests/flattener_dicos/10load_hidden_if_family/tiramisu/__init__.py b/tests/dictionaries/10load_hidden_if_family/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_hidden_if_family/tiramisu/__init__.py rename to tests/dictionaries/10load_hidden_if_family/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_hidden_if_family/tiramisu/base.py b/tests/dictionaries/10load_hidden_if_family/tiramisu/base.py similarity index 97% rename from tests/flattener_dicos/10load_hidden_if_family/tiramisu/base.py rename to tests/dictionaries/10load_hidden_if_family/tiramisu/base.py index e85126c1..1a2e8cb5 100644 --- a/tests/flattener_dicos/10load_hidden_if_family/tiramisu/base.py +++ b/tests/dictionaries/10load_hidden_if_family/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('hidden'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('frozen'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')})), Calculation(calc_value, Params(ParamValue('force_default_on_freeze'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/10load_leadership/00-base.xml b/tests/dictionaries/10load_leadership/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_leadership/00-base.xml rename to tests/dictionaries/10load_leadership/00-base.xml diff --git a/tests/flattener_dicos/10load_leadership/__init__.py b/tests/dictionaries/10load_leadership/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership/__init__.py rename to tests/dictionaries/10load_leadership/__init__.py diff --git a/tests/flattener_dicos/10load_leadership/makedict/base.json b/tests/dictionaries/10load_leadership/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_leadership/makedict/base.json rename to tests/dictionaries/10load_leadership/makedict/base.json diff --git a/tests/flattener_dicos/10load_leadership/tiramisu/__init__.py b/tests/dictionaries/10load_leadership/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership/tiramisu/__init__.py rename to tests/dictionaries/10load_leadership/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_leadership/tiramisu/base.py b/tests/dictionaries/10load_leadership/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_leadership/tiramisu/base.py rename to tests/dictionaries/10load_leadership/tiramisu/base.py index 3e65f494..c6138847 100644 --- a/tests/flattener_dicos/10load_leadership/tiramisu/base.py +++ b/tests/dictionaries/10load_leadership/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_6 = StrOption(name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/10load_leadership_default_multi/00-base.xml b/tests/dictionaries/10load_leadership_default_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_leadership_default_multi/00-base.xml rename to tests/dictionaries/10load_leadership_default_multi/00-base.xml diff --git a/tests/flattener_dicos/10load_leadership_default_multi/__init__.py b/tests/dictionaries/10load_leadership_default_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_default_multi/__init__.py rename to tests/dictionaries/10load_leadership_default_multi/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_default_multi/makedict/base.json b/tests/dictionaries/10load_leadership_default_multi/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_leadership_default_multi/makedict/base.json rename to tests/dictionaries/10load_leadership_default_multi/makedict/base.json diff --git a/tests/flattener_dicos/10load_leadership_default_multi/tiramisu/__init__.py b/tests/dictionaries/10load_leadership_default_multi/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_default_multi/tiramisu/__init__.py rename to tests/dictionaries/10load_leadership_default_multi/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_default_multi/tiramisu/base.py b/tests/dictionaries/10load_leadership_default_multi/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10load_leadership_default_multi/tiramisu/base.py rename to tests/dictionaries/10load_leadership_default_multi/tiramisu/base.py index a5e5256c..e0c00fc4 100644 --- a/tests/flattener_dicos/10load_leadership_default_multi/tiramisu/base.py +++ b/tests/dictionaries/10load_leadership_default_multi/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='leader', multi=True, default=['non'], default_multi='non', values=('oui', 'non')) option_5 = StrOption(name='leader', doc='leader', multi=True) option_6 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='follower1', doc='follower1', multi=True, default_multi='value') diff --git a/tests/flattener_dicos/10load_leadership_default_submulti/00-base.xml b/tests/dictionaries/10load_leadership_default_submulti/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_leadership_default_submulti/00-base.xml rename to tests/dictionaries/10load_leadership_default_submulti/00-base.xml diff --git a/tests/flattener_dicos/10load_leadership_default_submulti/__init__.py b/tests/dictionaries/10load_leadership_default_submulti/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_default_submulti/__init__.py rename to tests/dictionaries/10load_leadership_default_submulti/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_default_submulti/makedict/base.json b/tests/dictionaries/10load_leadership_default_submulti/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_leadership_default_submulti/makedict/base.json rename to tests/dictionaries/10load_leadership_default_submulti/makedict/base.json diff --git a/tests/flattener_dicos/10load_leadership_default_submulti/tiramisu/__init__.py b/tests/dictionaries/10load_leadership_default_submulti/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_default_submulti/tiramisu/__init__.py rename to tests/dictionaries/10load_leadership_default_submulti/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_default_submulti/tiramisu/base.py b/tests/dictionaries/10load_leadership_default_submulti/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10load_leadership_default_submulti/tiramisu/base.py rename to tests/dictionaries/10load_leadership_default_submulti/tiramisu/base.py index 431bc97b..18716274 100644 --- a/tests/flattener_dicos/10load_leadership_default_submulti/tiramisu/base.py +++ b/tests/dictionaries/10load_leadership_default_submulti/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='leader', multi=True, default=['non'], default_multi='non', values=('oui', 'non')) option_5 = StrOption(properties=frozenset({'mandatory'}), name='leader', doc='leader', multi=True, default=['leader']) option_6 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='follower1', doc='follower1', multi=submulti, default_multi=['value']) diff --git a/tests/flattener_dicos/10load_leadership_defaultmulti_leader/00-base.xml b/tests/dictionaries/10load_leadership_defaultmulti_leader/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_leadership_defaultmulti_leader/00-base.xml rename to tests/dictionaries/10load_leadership_defaultmulti_leader/00-base.xml diff --git a/tests/flattener_dicos/10load_leadership_defaultmulti_leader/__init__.py b/tests/dictionaries/10load_leadership_defaultmulti_leader/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_defaultmulti_leader/__init__.py rename to tests/dictionaries/10load_leadership_defaultmulti_leader/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_defaultmulti_leader/makedict/base.json b/tests/dictionaries/10load_leadership_defaultmulti_leader/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_leadership_defaultmulti_leader/makedict/base.json rename to tests/dictionaries/10load_leadership_defaultmulti_leader/makedict/base.json diff --git a/tests/flattener_dicos/10load_leadership_defaultmulti_leader/tiramisu/__init__.py b/tests/dictionaries/10load_leadership_defaultmulti_leader/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_defaultmulti_leader/tiramisu/__init__.py rename to tests/dictionaries/10load_leadership_defaultmulti_leader/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_defaultmulti_leader/tiramisu/base.py b/tests/dictionaries/10load_leadership_defaultmulti_leader/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10load_leadership_defaultmulti_leader/tiramisu/base.py rename to tests/dictionaries/10load_leadership_defaultmulti_leader/tiramisu/base.py index 5b774de0..9b2a0284 100644 --- a/tests/flattener_dicos/10load_leadership_defaultmulti_leader/tiramisu/base.py +++ b/tests/dictionaries/10load_leadership_defaultmulti_leader/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='leader', multi=True, default=['non'], default_multi='non', values=('oui', 'non')) option_5 = StrOption(properties=frozenset({'mandatory'}), name='leader', doc='leader', multi=True, default=['value']) option_6 = StrOption(properties=frozenset({'normal'}), name='follower1', doc='follower1', multi=True) diff --git a/tests/flattener_dicos/10load_leadership_description/00-base.xml b/tests/dictionaries/10load_leadership_description/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_leadership_description/00-base.xml rename to tests/dictionaries/10load_leadership_description/00-base.xml diff --git a/tests/flattener_dicos/10load_leadership_description/__init__.py b/tests/dictionaries/10load_leadership_description/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_description/__init__.py rename to tests/dictionaries/10load_leadership_description/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_description/makedict/base.json b/tests/dictionaries/10load_leadership_description/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_leadership_description/makedict/base.json rename to tests/dictionaries/10load_leadership_description/makedict/base.json diff --git a/tests/flattener_dicos/10load_leadership_description/tiramisu/__init__.py b/tests/dictionaries/10load_leadership_description/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_description/tiramisu/__init__.py rename to tests/dictionaries/10load_leadership_description/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_description/tiramisu/base.py b/tests/dictionaries/10load_leadership_description/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_leadership_description/tiramisu/base.py rename to tests/dictionaries/10load_leadership_description/tiramisu/base.py index a7a108bb..fbf6894e 100644 --- a/tests/flattener_dicos/10load_leadership_description/tiramisu/base.py +++ b/tests/dictionaries/10load_leadership_description/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_6 = StrOption(name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/10load_leadership_normalize_family/00-base.xml b/tests/dictionaries/10load_leadership_normalize_family/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_leadership_normalize_family/00-base.xml rename to tests/dictionaries/10load_leadership_normalize_family/00-base.xml diff --git a/tests/flattener_dicos/10load_leadership_normalize_family/01-base.xml b/tests/dictionaries/10load_leadership_normalize_family/01-base.xml similarity index 100% rename from tests/flattener_dicos/10load_leadership_normalize_family/01-base.xml rename to tests/dictionaries/10load_leadership_normalize_family/01-base.xml diff --git a/tests/flattener_dicos/10load_leadership_normalize_family/__init__.py b/tests/dictionaries/10load_leadership_normalize_family/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_normalize_family/__init__.py rename to tests/dictionaries/10load_leadership_normalize_family/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_normalize_family/makedict/base.json b/tests/dictionaries/10load_leadership_normalize_family/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_leadership_normalize_family/makedict/base.json rename to tests/dictionaries/10load_leadership_normalize_family/makedict/base.json diff --git a/tests/flattener_dicos/10load_leadership_normalize_family/tiramisu/__init__.py b/tests/dictionaries/10load_leadership_normalize_family/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_normalize_family/tiramisu/__init__.py rename to tests/dictionaries/10load_leadership_normalize_family/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_normalize_family/tiramisu/base.py b/tests/dictionaries/10load_leadership_normalize_family/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10load_leadership_normalize_family/tiramisu/base.py rename to tests/dictionaries/10load_leadership_normalize_family/tiramisu/base.py index 75026f13..08c16804 100644 --- a/tests/flattener_dicos/10load_leadership_normalize_family/tiramisu/base.py +++ b/tests/dictionaries/10load_leadership_normalize_family/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_6 = StrOption(properties=frozenset({'mandatory'}), name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/10load_leadership_submulti/00-base.xml b/tests/dictionaries/10load_leadership_submulti/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_leadership_submulti/00-base.xml rename to tests/dictionaries/10load_leadership_submulti/00-base.xml diff --git a/tests/flattener_dicos/10load_leadership_submulti/__init__.py b/tests/dictionaries/10load_leadership_submulti/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_submulti/__init__.py rename to tests/dictionaries/10load_leadership_submulti/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_submulti/makedict/base.json b/tests/dictionaries/10load_leadership_submulti/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_leadership_submulti/makedict/base.json rename to tests/dictionaries/10load_leadership_submulti/makedict/base.json diff --git a/tests/flattener_dicos/10load_leadership_submulti/tiramisu/__init__.py b/tests/dictionaries/10load_leadership_submulti/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_leadership_submulti/tiramisu/__init__.py rename to tests/dictionaries/10load_leadership_submulti/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_leadership_submulti/tiramisu/base.py b/tests/dictionaries/10load_leadership_submulti/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/10load_leadership_submulti/tiramisu/base.py rename to tests/dictionaries/10load_leadership_submulti/tiramisu/base.py index 198cf443..75949068 100644 --- a/tests/flattener_dicos/10load_leadership_submulti/tiramisu/base.py +++ b/tests/dictionaries/10load_leadership_submulti/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_6 = StrOption(name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/10load_mandatoryifin/00-base.xml b/tests/dictionaries/10load_mandatoryifin/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_mandatoryifin/00-base.xml rename to tests/dictionaries/10load_mandatoryifin/00-base.xml diff --git a/tests/flattener_dicos/10load_mandatoryifin/__init__.py b/tests/dictionaries/10load_mandatoryifin/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_mandatoryifin/__init__.py rename to tests/dictionaries/10load_mandatoryifin/__init__.py diff --git a/tests/flattener_dicos/10load_mandatoryifin/makedict/base.json b/tests/dictionaries/10load_mandatoryifin/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_mandatoryifin/makedict/base.json rename to tests/dictionaries/10load_mandatoryifin/makedict/base.json diff --git a/tests/flattener_dicos/10load_mandatoryifin/tiramisu/__init__.py b/tests/dictionaries/10load_mandatoryifin/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_mandatoryifin/tiramisu/__init__.py rename to tests/dictionaries/10load_mandatoryifin/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_mandatoryifin/tiramisu/base.py b/tests/dictionaries/10load_mandatoryifin/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10load_mandatoryifin/tiramisu/base.py rename to tests/dictionaries/10load_mandatoryifin/tiramisu/base.py index 88682c2d..22dafbdb 100644 --- a/tests/flattener_dicos/10load_mandatoryifin/tiramisu/base.py +++ b/tests/dictionaries/10load_mandatoryifin/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = StrOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('mandatory'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non') option_5 = StrOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('mandatory'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non') diff --git a/tests/flattener_dicos/10load_multivalue/00-base.xml b/tests/dictionaries/10load_multivalue/00-base.xml similarity index 100% rename from tests/flattener_dicos/10load_multivalue/00-base.xml rename to tests/dictionaries/10load_multivalue/00-base.xml diff --git a/tests/flattener_dicos/10load_multivalue/__init__.py b/tests/dictionaries/10load_multivalue/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_multivalue/__init__.py rename to tests/dictionaries/10load_multivalue/__init__.py diff --git a/tests/flattener_dicos/10load_multivalue/makedict/base.json b/tests/dictionaries/10load_multivalue/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10load_multivalue/makedict/base.json rename to tests/dictionaries/10load_multivalue/makedict/base.json diff --git a/tests/flattener_dicos/10load_multivalue/tiramisu/__init__.py b/tests/dictionaries/10load_multivalue/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10load_multivalue/tiramisu/__init__.py rename to tests/dictionaries/10load_multivalue/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10load_multivalue/tiramisu/base.py b/tests/dictionaries/10load_multivalue/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/10load_multivalue/tiramisu/base.py rename to tests/dictionaries/10load_multivalue/tiramisu/base.py index 7398ead7..051d030a 100644 --- a/tests/flattener_dicos/10load_multivalue/tiramisu/base.py +++ b/tests/dictionaries/10load_multivalue/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=True, default=['non', 'oui'], default_multi='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/10valid_enum_accent/00-base.xml b/tests/dictionaries/10valid_enum_accent/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_accent/00-base.xml rename to tests/dictionaries/10valid_enum_accent/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_accent/__init__.py b/tests/dictionaries/10valid_enum_accent/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_accent/__init__.py rename to tests/dictionaries/10valid_enum_accent/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_accent/makedict/base.json b/tests/dictionaries/10valid_enum_accent/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_accent/makedict/base.json rename to tests/dictionaries/10valid_enum_accent/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_accent/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_accent/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_accent/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_accent/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_accent/tiramisu/base.py b/tests/dictionaries/10valid_enum_accent/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10valid_enum_accent/tiramisu/base.py rename to tests/dictionaries/10valid_enum_accent/tiramisu/base.py index 43eae377..6136c843 100644 --- a/tests/flattener_dicos/10valid_enum_accent/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_accent/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='enumvar', doc='multi', multi=False, default='c', values=('a', 'b', 'c', 'é')) diff --git a/tests/flattener_dicos/10valid_enum_base/00-base.xml b/tests/dictionaries/10valid_enum_base/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_base/00-base.xml rename to tests/dictionaries/10valid_enum_base/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_base/__init__.py b/tests/dictionaries/10valid_enum_base/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_base/__init__.py rename to tests/dictionaries/10valid_enum_base/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_base/makedict/base.json b/tests/dictionaries/10valid_enum_base/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_base/makedict/base.json rename to tests/dictionaries/10valid_enum_base/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_base/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_base/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_base/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_base/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_base/tiramisu/base.py b/tests/dictionaries/10valid_enum_base/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10valid_enum_base/tiramisu/base.py rename to tests/dictionaries/10valid_enum_base/tiramisu/base.py index a8735e25..a3aef0a4 100644 --- a/tests/flattener_dicos/10valid_enum_base/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_base/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='enumvar', doc='multi', multi=False, default='c', values=('a', 'b', 'c')) diff --git a/tests/flattener_dicos/10valid_enum_base_redefine/00-base.xml b/tests/dictionaries/10valid_enum_base_redefine/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_base_redefine/00-base.xml rename to tests/dictionaries/10valid_enum_base_redefine/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_base_redefine/01-base.xml b/tests/dictionaries/10valid_enum_base_redefine/01-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_base_redefine/01-base.xml rename to tests/dictionaries/10valid_enum_base_redefine/01-base.xml diff --git a/tests/flattener_dicos/10valid_enum_base_redefine/__init__.py b/tests/dictionaries/10valid_enum_base_redefine/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_base_redefine/__init__.py rename to tests/dictionaries/10valid_enum_base_redefine/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_base_redefine/makedict/base.json b/tests/dictionaries/10valid_enum_base_redefine/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_base_redefine/makedict/base.json rename to tests/dictionaries/10valid_enum_base_redefine/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_base_redefine/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_base_redefine/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_base_redefine/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_base_redefine/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_base_redefine/tiramisu/base.py b/tests/dictionaries/10valid_enum_base_redefine/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10valid_enum_base_redefine/tiramisu/base.py rename to tests/dictionaries/10valid_enum_base_redefine/tiramisu/base.py index 19b9696c..6672f05b 100644 --- a/tests/flattener_dicos/10valid_enum_base_redefine/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_base_redefine/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='enumvar2', doc='multi', multi=False, default='c', values=('a', 'b', 'c')) diff --git a/tests/flattener_dicos/10valid_enum_eosfunc/00-base.xml b/tests/dictionaries/10valid_enum_eosfunc/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_eosfunc/00-base.xml rename to tests/dictionaries/10valid_enum_eosfunc/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_eosfunc/__init__.py b/tests/dictionaries/10valid_enum_eosfunc/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_eosfunc/__init__.py rename to tests/dictionaries/10valid_enum_eosfunc/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_eosfunc/makedict/base.json b/tests/dictionaries/10valid_enum_eosfunc/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_eosfunc/makedict/base.json rename to tests/dictionaries/10valid_enum_eosfunc/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_eosfunc/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_eosfunc/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_eosfunc/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_eosfunc/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_eosfunc/tiramisu/base.py b/tests/dictionaries/10valid_enum_eosfunc/tiramisu/base.py similarity index 87% rename from tests/flattener_dicos/10valid_enum_eosfunc/tiramisu/base.py rename to tests/dictionaries/10valid_enum_eosfunc/tiramisu/base.py index 5783a3af..f6fe39fc 100644 --- a/tests/flattener_dicos/10valid_enum_eosfunc/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_eosfunc/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/10valid_enum_leader/00-base.xml b/tests/dictionaries/10valid_enum_leader/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_leader/00-base.xml rename to tests/dictionaries/10valid_enum_leader/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_leader/__init__.py b/tests/dictionaries/10valid_enum_leader/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_leader/__init__.py rename to tests/dictionaries/10valid_enum_leader/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_leader/makedict/base.json b/tests/dictionaries/10valid_enum_leader/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_leader/makedict/base.json rename to tests/dictionaries/10valid_enum_leader/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_leader/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_leader/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_leader/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_leader/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_leader/tiramisu/base.py b/tests/dictionaries/10valid_enum_leader/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/10valid_enum_leader/tiramisu/base.py rename to tests/dictionaries/10valid_enum_leader/tiramisu/base.py index 2062127e..aa1123e2 100644 --- a/tests/flattener_dicos/10valid_enum_leader/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_leader/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = StrOption(name='leader', doc='leader', multi=True) option_6 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='follower1', doc='follower1', multi=True, default_multi='a', values=('a', 'b', 'c')) diff --git a/tests/flattener_dicos/10valid_enum_mandatory/00-base.xml b/tests/dictionaries/10valid_enum_mandatory/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_mandatory/00-base.xml rename to tests/dictionaries/10valid_enum_mandatory/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_mandatory/__init__.py b/tests/dictionaries/10valid_enum_mandatory/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_mandatory/__init__.py rename to tests/dictionaries/10valid_enum_mandatory/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_mandatory/makedict/base.json b/tests/dictionaries/10valid_enum_mandatory/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_mandatory/makedict/base.json rename to tests/dictionaries/10valid_enum_mandatory/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_mandatory/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_mandatory/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_mandatory/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_mandatory/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_mandatory/tiramisu/base.py b/tests/dictionaries/10valid_enum_mandatory/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/10valid_enum_mandatory/tiramisu/base.py rename to tests/dictionaries/10valid_enum_mandatory/tiramisu/base.py index b417de94..45bbebca 100644 --- a/tests/flattener_dicos/10valid_enum_mandatory/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_mandatory/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='enumvar', doc='multi', multi=False, default='a', values=('a', 'b', 'c')) diff --git a/tests/flattener_dicos/10valid_enum_multi/00-base.xml b/tests/dictionaries/10valid_enum_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_multi/00-base.xml rename to tests/dictionaries/10valid_enum_multi/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_multi/__init__.py b/tests/dictionaries/10valid_enum_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_multi/__init__.py rename to tests/dictionaries/10valid_enum_multi/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_multi/makedict/base.json b/tests/dictionaries/10valid_enum_multi/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_multi/makedict/base.json rename to tests/dictionaries/10valid_enum_multi/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_multi/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_multi/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_multi/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_multi/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_multi/tiramisu/base.py b/tests/dictionaries/10valid_enum_multi/tiramisu/base.py similarity index 90% rename from tests/flattener_dicos/10valid_enum_multi/tiramisu/base.py rename to tests/dictionaries/10valid_enum_multi/tiramisu/base.py index 31350464..d07d09ef 100644 --- a/tests/flattener_dicos/10valid_enum_multi/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_multi/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='multi', doc='multi', multi=True, default=['a'], default_multi='a', values=('a', 'b', 'c')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/10valid_enum_none/00-base.xml b/tests/dictionaries/10valid_enum_none/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_none/00-base.xml rename to tests/dictionaries/10valid_enum_none/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_none/__init__.py b/tests/dictionaries/10valid_enum_none/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_none/__init__.py rename to tests/dictionaries/10valid_enum_none/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_none/makedict/base.json b/tests/dictionaries/10valid_enum_none/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_none/makedict/base.json rename to tests/dictionaries/10valid_enum_none/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_none/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_none/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_none/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_none/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_none/tiramisu/base.py b/tests/dictionaries/10valid_enum_none/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10valid_enum_none/tiramisu/base.py rename to tests/dictionaries/10valid_enum_none/tiramisu/base.py index 9b1ed780..14da9bcf 100644 --- a/tests/flattener_dicos/10valid_enum_none/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_none/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='enumvar', doc='multi', multi=False, default='b', values=('a', 'b', None)) diff --git a/tests/flattener_dicos/10valid_enum_number/00-base.xml b/tests/dictionaries/10valid_enum_number/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_number/00-base.xml rename to tests/dictionaries/10valid_enum_number/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_number/__init__.py b/tests/dictionaries/10valid_enum_number/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_number/__init__.py rename to tests/dictionaries/10valid_enum_number/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_number/makedict/base.json b/tests/dictionaries/10valid_enum_number/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_number/makedict/base.json rename to tests/dictionaries/10valid_enum_number/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_number/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_number/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_number/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_number/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_number/tiramisu/base.py b/tests/dictionaries/10valid_enum_number/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10valid_enum_number/tiramisu/base.py rename to tests/dictionaries/10valid_enum_number/tiramisu/base.py index c6a42d20..28ee6867 100644 --- a/tests/flattener_dicos/10valid_enum_number/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_number/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='enumvar', doc='enumvar', multi=False, default=1, values=(1, 2, 3)) diff --git a/tests/flattener_dicos/10valid_enum_numberdefault/00-base.xml b/tests/dictionaries/10valid_enum_numberdefault/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_numberdefault/00-base.xml rename to tests/dictionaries/10valid_enum_numberdefault/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_numberdefault/__init__.py b/tests/dictionaries/10valid_enum_numberdefault/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_numberdefault/__init__.py rename to tests/dictionaries/10valid_enum_numberdefault/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_numberdefault/makedict/base.json b/tests/dictionaries/10valid_enum_numberdefault/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_numberdefault/makedict/base.json rename to tests/dictionaries/10valid_enum_numberdefault/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_numberdefault/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_numberdefault/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_numberdefault/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_numberdefault/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_numberdefault/tiramisu/base.py b/tests/dictionaries/10valid_enum_numberdefault/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10valid_enum_numberdefault/tiramisu/base.py rename to tests/dictionaries/10valid_enum_numberdefault/tiramisu/base.py index 7c83c55f..ea6abb5b 100644 --- a/tests/flattener_dicos/10valid_enum_numberdefault/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_numberdefault/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='enumvar', doc='enumvar', multi=False, default=3, values=(1, 2, 3)) diff --git a/tests/flattener_dicos/10valid_enum_python/00-base.xml b/tests/dictionaries/10valid_enum_python/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_python/00-base.xml rename to tests/dictionaries/10valid_enum_python/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_python/__init__.py b/tests/dictionaries/10valid_enum_python/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_python/__init__.py rename to tests/dictionaries/10valid_enum_python/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_python/makedict/base.json b/tests/dictionaries/10valid_enum_python/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_python/makedict/base.json rename to tests/dictionaries/10valid_enum_python/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_python/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_python/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_python/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_python/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_python/tiramisu/base.py b/tests/dictionaries/10valid_enum_python/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/10valid_enum_python/tiramisu/base.py rename to tests/dictionaries/10valid_enum_python/tiramisu/base.py index d4ef10b5..3e41acca 100644 --- a/tests/flattener_dicos/10valid_enum_python/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_python/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'expert'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'expert', 'mandatory'}), name='enumvar', doc='multi', multi=False, default='test', values=('test',)) diff --git a/tests/flattener_dicos/10valid_enum_value/00-base.xml b/tests/dictionaries/10valid_enum_value/00-base.xml similarity index 100% rename from tests/flattener_dicos/10valid_enum_value/00-base.xml rename to tests/dictionaries/10valid_enum_value/00-base.xml diff --git a/tests/flattener_dicos/10valid_enum_value/__init__.py b/tests/dictionaries/10valid_enum_value/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_value/__init__.py rename to tests/dictionaries/10valid_enum_value/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_value/makedict/base.json b/tests/dictionaries/10valid_enum_value/makedict/base.json similarity index 100% rename from tests/flattener_dicos/10valid_enum_value/makedict/base.json rename to tests/dictionaries/10valid_enum_value/makedict/base.json diff --git a/tests/flattener_dicos/10valid_enum_value/tiramisu/__init__.py b/tests/dictionaries/10valid_enum_value/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/10valid_enum_value/tiramisu/__init__.py rename to tests/dictionaries/10valid_enum_value/tiramisu/__init__.py diff --git a/tests/flattener_dicos/10valid_enum_value/tiramisu/base.py b/tests/dictionaries/10valid_enum_value/tiramisu/base.py similarity index 87% rename from tests/flattener_dicos/10valid_enum_value/tiramisu/base.py rename to tests/dictionaries/10valid_enum_value/tiramisu/base.py index 37db7b31..143b7e76 100644 --- a/tests/flattener_dicos/10valid_enum_value/tiramisu/base.py +++ b/tests/dictionaries/10valid_enum_value/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='b', values=('a', 'b', 'c')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/11disabled_if_in_filelist/00-base.xml b/tests/dictionaries/11disabled_if_in_filelist/00-base.xml similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist/00-base.xml rename to tests/dictionaries/11disabled_if_in_filelist/00-base.xml diff --git a/tests/flattener_dicos/11disabled_if_in_filelist/__init__.py b/tests/dictionaries/11disabled_if_in_filelist/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist/__init__.py rename to tests/dictionaries/11disabled_if_in_filelist/__init__.py diff --git a/tests/flattener_dicos/11disabled_if_in_filelist/makedict/base.json b/tests/dictionaries/11disabled_if_in_filelist/makedict/base.json similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist/makedict/base.json rename to tests/dictionaries/11disabled_if_in_filelist/makedict/base.json diff --git a/tests/templates/11disabled_if_in_filelist/result/etc/file b/tests/dictionaries/11disabled_if_in_filelist/result/etc/file similarity index 100% rename from tests/templates/11disabled_if_in_filelist/result/etc/file rename to tests/dictionaries/11disabled_if_in_filelist/result/etc/file diff --git a/tests/flattener_dicos/11disabled_if_in_filelist/tiramisu/__init__.py b/tests/dictionaries/11disabled_if_in_filelist/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist/tiramisu/__init__.py rename to tests/dictionaries/11disabled_if_in_filelist/tiramisu/__init__.py diff --git a/tests/flattener_dicos/11disabled_if_in_filelist/tiramisu/base.py b/tests/dictionaries/11disabled_if_in_filelist/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/11disabled_if_in_filelist/tiramisu/base.py rename to tests/dictionaries/11disabled_if_in_filelist/tiramisu/base.py index 89a5eb47..9a588098 100644 --- a/tests/flattener_dicos/11disabled_if_in_filelist/tiramisu/base.py +++ b/tests/dictionaries/11disabled_if_in_filelist/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = BoolOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default=True) diff --git a/tests/templates/11disabled_if_in_filelist/tmpl/file b/tests/dictionaries/11disabled_if_in_filelist/tmpl/file similarity index 100% rename from tests/templates/11disabled_if_in_filelist/tmpl/file rename to tests/dictionaries/11disabled_if_in_filelist/tmpl/file diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_disabled/00-base.xml b/tests/dictionaries/11disabled_if_in_filelist_disabled/00-base.xml similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist_disabled/00-base.xml rename to tests/dictionaries/11disabled_if_in_filelist_disabled/00-base.xml diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_disabled/__init__.py b/tests/dictionaries/11disabled_if_in_filelist_disabled/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist_disabled/__init__.py rename to tests/dictionaries/11disabled_if_in_filelist_disabled/__init__.py diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_disabled/makedict/base.json b/tests/dictionaries/11disabled_if_in_filelist_disabled/makedict/base.json similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist_disabled/makedict/base.json rename to tests/dictionaries/11disabled_if_in_filelist_disabled/makedict/base.json diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_disabled/tiramisu/__init__.py b/tests/dictionaries/11disabled_if_in_filelist_disabled/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist_disabled/tiramisu/__init__.py rename to tests/dictionaries/11disabled_if_in_filelist_disabled/tiramisu/__init__.py diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_disabled/tiramisu/base.py b/tests/dictionaries/11disabled_if_in_filelist_disabled/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/11disabled_if_in_filelist_disabled/tiramisu/base.py rename to tests/dictionaries/11disabled_if_in_filelist_disabled/tiramisu/base.py index 9711a198..663faf41 100644 --- a/tests/flattener_dicos/11disabled_if_in_filelist_disabled/tiramisu/base.py +++ b/tests/dictionaries/11disabled_if_in_filelist_disabled/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/templates/11disabled_if_in_filelist_disabled/tmpl/file b/tests/dictionaries/11disabled_if_in_filelist_disabled/tmpl/file similarity index 100% rename from tests/templates/11disabled_if_in_filelist_disabled/tmpl/file rename to tests/dictionaries/11disabled_if_in_filelist_disabled/tmpl/file diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_multi/00-base.xml b/tests/dictionaries/11disabled_if_in_filelist_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist_multi/00-base.xml rename to tests/dictionaries/11disabled_if_in_filelist_multi/00-base.xml diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_multi/__init__.py b/tests/dictionaries/11disabled_if_in_filelist_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist_multi/__init__.py rename to tests/dictionaries/11disabled_if_in_filelist_multi/__init__.py diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_multi/makedict/base.json b/tests/dictionaries/11disabled_if_in_filelist_multi/makedict/base.json similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist_multi/makedict/base.json rename to tests/dictionaries/11disabled_if_in_filelist_multi/makedict/base.json diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_multi/tiramisu/__init__.py b/tests/dictionaries/11disabled_if_in_filelist_multi/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabled_if_in_filelist_multi/tiramisu/__init__.py rename to tests/dictionaries/11disabled_if_in_filelist_multi/tiramisu/__init__.py diff --git a/tests/flattener_dicos/11disabled_if_in_filelist_multi/tiramisu/base.py b/tests/dictionaries/11disabled_if_in_filelist_multi/tiramisu/base.py similarity index 97% rename from tests/flattener_dicos/11disabled_if_in_filelist_multi/tiramisu/base.py rename to tests/dictionaries/11disabled_if_in_filelist_multi/tiramisu/base.py index 484b7e57..cdc3d4ad 100644 --- a/tests/flattener_dicos/11disabled_if_in_filelist_multi/tiramisu/base.py +++ b/tests/dictionaries/11disabled_if_in_filelist_multi/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/11disabledifin_filelist_notexist/00-base.xml b/tests/dictionaries/11disabledifin_filelist_notexist/00-base.xml similarity index 100% rename from tests/flattener_dicos/11disabledifin_filelist_notexist/00-base.xml rename to tests/dictionaries/11disabledifin_filelist_notexist/00-base.xml diff --git a/tests/flattener_dicos/11disabledifin_filelist_notexist/__init__.py b/tests/dictionaries/11disabledifin_filelist_notexist/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabledifin_filelist_notexist/__init__.py rename to tests/dictionaries/11disabledifin_filelist_notexist/__init__.py diff --git a/tests/flattener_dicos/11disabledifin_filelist_notexist/makedict/base.json b/tests/dictionaries/11disabledifin_filelist_notexist/makedict/base.json similarity index 100% rename from tests/flattener_dicos/11disabledifin_filelist_notexist/makedict/base.json rename to tests/dictionaries/11disabledifin_filelist_notexist/makedict/base.json diff --git a/tests/flattener_dicos/11disabledifin_filelist_notexist/tiramisu/__init__.py b/tests/dictionaries/11disabledifin_filelist_notexist/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabledifin_filelist_notexist/tiramisu/__init__.py rename to tests/dictionaries/11disabledifin_filelist_notexist/tiramisu/__init__.py diff --git a/tests/flattener_dicos/11disabledifin_filelist_notexist/tiramisu/base.py b/tests/dictionaries/11disabledifin_filelist_notexist/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/11disabledifin_filelist_notexist/tiramisu/base.py rename to tests/dictionaries/11disabledifin_filelist_notexist/tiramisu/base.py index 25546cb5..089f0f48 100644 --- a/tests/flattener_dicos/11disabledifin_filelist_notexist/tiramisu/base.py +++ b/tests/dictionaries/11disabledifin_filelist_notexist/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist/00-base.xml b/tests/dictionaries/11disabledifnotin_filelist_notexist/00-base.xml similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist/00-base.xml rename to tests/dictionaries/11disabledifnotin_filelist_notexist/00-base.xml diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist/__init__.py b/tests/dictionaries/11disabledifnotin_filelist_notexist/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist/__init__.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist/__init__.py diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist/makedict/base.json b/tests/dictionaries/11disabledifnotin_filelist_notexist/makedict/base.json similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist/makedict/base.json rename to tests/dictionaries/11disabledifnotin_filelist_notexist/makedict/base.json diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist/tiramisu/__init__.py b/tests/dictionaries/11disabledifnotin_filelist_notexist/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist/tiramisu/__init__.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist/tiramisu/__init__.py diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist/tiramisu/base.py b/tests/dictionaries/11disabledifnotin_filelist_notexist/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist/tiramisu/base.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist/tiramisu/base.py index 25546cb5..089f0f48 100644 --- a/tests/flattener_dicos/11disabledifnotin_filelist_notexist/tiramisu/base.py +++ b/tests/dictionaries/11disabledifnotin_filelist_notexist/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/00-base.xml b/tests/dictionaries/11disabledifnotin_filelist_notexist_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/00-base.xml rename to tests/dictionaries/11disabledifnotin_filelist_notexist_multi/00-base.xml diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/__init__.py b/tests/dictionaries/11disabledifnotin_filelist_notexist_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/__init__.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist_multi/__init__.py diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/makedict/base.json b/tests/dictionaries/11disabledifnotin_filelist_notexist_multi/makedict/base.json similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/makedict/base.json rename to tests/dictionaries/11disabledifnotin_filelist_notexist_multi/makedict/base.json diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/tiramisu/__init__.py b/tests/dictionaries/11disabledifnotin_filelist_notexist_multi/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/tiramisu/__init__.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist_multi/tiramisu/__init__.py diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/tiramisu/base.py b/tests/dictionaries/11disabledifnotin_filelist_notexist_multi/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/tiramisu/base.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist_multi/tiramisu/base.py index 25546cb5..089f0f48 100644 --- a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_multi/tiramisu/base.py +++ b/tests/dictionaries/11disabledifnotin_filelist_notexist_multi/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/00-base.xml b/tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/00-base.xml similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/00-base.xml rename to tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/00-base.xml diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/__init__.py b/tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/__init__.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/__init__.py diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/makedict/base.json b/tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/makedict/base.json similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/makedict/base.json rename to tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/makedict/base.json diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/tiramisu/__init__.py b/tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/tiramisu/__init__.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/tiramisu/__init__.py diff --git a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/tiramisu/base.py b/tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/tiramisu/base.py rename to tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/tiramisu/base.py index 53cd3efc..11e4ace2 100644 --- a/tests/flattener_dicos/11disabledifnotin_filelist_notexist_validenum/tiramisu/base.py +++ b/tests/dictionaries/11disabledifnotin_filelist_notexist_validenum/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('non', 'statique')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/11multi_disabled_if_in_filelist/00-base.xml b/tests/dictionaries/11multi_disabled_if_in_filelist/00-base.xml similarity index 100% rename from tests/flattener_dicos/11multi_disabled_if_in_filelist/00-base.xml rename to tests/dictionaries/11multi_disabled_if_in_filelist/00-base.xml diff --git a/tests/flattener_dicos/11multi_disabled_if_in_filelist/__init__.py b/tests/dictionaries/11multi_disabled_if_in_filelist/__init__.py similarity index 100% rename from tests/flattener_dicos/11multi_disabled_if_in_filelist/__init__.py rename to tests/dictionaries/11multi_disabled_if_in_filelist/__init__.py diff --git a/tests/flattener_dicos/11multi_disabled_if_in_filelist/makedict/base.json b/tests/dictionaries/11multi_disabled_if_in_filelist/makedict/base.json similarity index 100% rename from tests/flattener_dicos/11multi_disabled_if_in_filelist/makedict/base.json rename to tests/dictionaries/11multi_disabled_if_in_filelist/makedict/base.json diff --git a/tests/flattener_dicos/11multi_disabled_if_in_filelist/tiramisu/__init__.py b/tests/dictionaries/11multi_disabled_if_in_filelist/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/11multi_disabled_if_in_filelist/tiramisu/__init__.py rename to tests/dictionaries/11multi_disabled_if_in_filelist/tiramisu/__init__.py diff --git a/tests/flattener_dicos/11multi_disabled_if_in_filelist/tiramisu/base.py b/tests/dictionaries/11multi_disabled_if_in_filelist/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/11multi_disabled_if_in_filelist/tiramisu/base.py rename to tests/dictionaries/11multi_disabled_if_in_filelist/tiramisu/base.py index 10a32087..d20fd531 100644 --- a/tests/flattener_dicos/11multi_disabled_if_in_filelist/tiramisu/base.py +++ b/tests/dictionaries/11multi_disabled_if_in_filelist/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/20family_append/00-base.xml b/tests/dictionaries/20family_append/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_append/00-base.xml rename to tests/dictionaries/20family_append/00-base.xml diff --git a/tests/flattener_dicos/20family_append/01-base.xml b/tests/dictionaries/20family_append/01-base.xml similarity index 100% rename from tests/flattener_dicos/20family_append/01-base.xml rename to tests/dictionaries/20family_append/01-base.xml diff --git a/tests/flattener_dicos/20family_append/__init__.py b/tests/dictionaries/20family_append/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_append/__init__.py rename to tests/dictionaries/20family_append/__init__.py diff --git a/tests/flattener_dicos/20family_append/makedict/base.json b/tests/dictionaries/20family_append/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_append/makedict/base.json rename to tests/dictionaries/20family_append/makedict/base.json diff --git a/tests/flattener_dicos/20family_append/tiramisu/__init__.py b/tests/dictionaries/20family_append/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_append/tiramisu/__init__.py rename to tests/dictionaries/20family_append/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_append/tiramisu/base.py b/tests/dictionaries/20family_append/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/20family_append/tiramisu/base.py rename to tests/dictionaries/20family_append/tiramisu/base.py index 73aae3ad..d605b02f 100644 --- a/tests/flattener_dicos/20family_append/tiramisu/base.py +++ b/tests/dictionaries/20family_append/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/20family_appendaccent/00-base.xml b/tests/dictionaries/20family_appendaccent/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_appendaccent/00-base.xml rename to tests/dictionaries/20family_appendaccent/00-base.xml diff --git a/tests/flattener_dicos/20family_appendaccent/01-base.xml b/tests/dictionaries/20family_appendaccent/01-base.xml similarity index 100% rename from tests/flattener_dicos/20family_appendaccent/01-base.xml rename to tests/dictionaries/20family_appendaccent/01-base.xml diff --git a/tests/flattener_dicos/20family_appendaccent/02-base.xml b/tests/dictionaries/20family_appendaccent/02-base.xml similarity index 100% rename from tests/flattener_dicos/20family_appendaccent/02-base.xml rename to tests/dictionaries/20family_appendaccent/02-base.xml diff --git a/tests/flattener_dicos/20family_appendaccent/__init__.py b/tests/dictionaries/20family_appendaccent/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_appendaccent/__init__.py rename to tests/dictionaries/20family_appendaccent/__init__.py diff --git a/tests/flattener_dicos/20family_appendaccent/makedict/base.json b/tests/dictionaries/20family_appendaccent/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_appendaccent/makedict/base.json rename to tests/dictionaries/20family_appendaccent/makedict/base.json diff --git a/tests/flattener_dicos/20family_appendaccent/tiramisu/__init__.py b/tests/dictionaries/20family_appendaccent/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_appendaccent/tiramisu/__init__.py rename to tests/dictionaries/20family_appendaccent/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_appendaccent/tiramisu/base.py b/tests/dictionaries/20family_appendaccent/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/20family_appendaccent/tiramisu/base.py rename to tests/dictionaries/20family_appendaccent/tiramisu/base.py index ad7de930..84781c42 100644 --- a/tests/flattener_dicos/20family_appendaccent/tiramisu/base.py +++ b/tests/dictionaries/20family_appendaccent/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_7 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif3', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_7, todict=True), 'expected': ParamValue('non')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/20family_dynamic/00-base.xml b/tests/dictionaries/20family_dynamic/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_dynamic/00-base.xml rename to tests/dictionaries/20family_dynamic/00-base.xml diff --git a/tests/flattener_dicos/20family_dynamic/__init__.py b/tests/dictionaries/20family_dynamic/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_dynamic/__init__.py rename to tests/dictionaries/20family_dynamic/__init__.py diff --git a/tests/flattener_dicos/20family_dynamic/makedict/base.json b/tests/dictionaries/20family_dynamic/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_dynamic/makedict/base.json rename to tests/dictionaries/20family_dynamic/makedict/base.json diff --git a/tests/flattener_dicos/20family_dynamic/tiramisu/__init__.py b/tests/dictionaries/20family_dynamic/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_dynamic/tiramisu/__init__.py rename to tests/dictionaries/20family_dynamic/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_dynamic/tiramisu/base.py b/tests/dictionaries/20family_dynamic/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/20family_dynamic/tiramisu/base.py rename to tests/dictionaries/20family_dynamic/tiramisu/base.py index 9c247faa..89d10529 100644 --- a/tests/flattener_dicos/20family_dynamic/tiramisu/base.py +++ b/tests/dictionaries/20family_dynamic/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='varname', doc='No change', multi=True, default=['val1', 'val2'], default_multi='val2') option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_5 = StrOption(properties=frozenset({'normal'}), name='vardyn', doc='No change', multi=False) diff --git a/tests/flattener_dicos/20family_dynamic_calc/00-base.xml b/tests/dictionaries/20family_dynamic_calc/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_dynamic_calc/00-base.xml rename to tests/dictionaries/20family_dynamic_calc/00-base.xml diff --git a/tests/flattener_dicos/20family_dynamic_calc/__init__.py b/tests/dictionaries/20family_dynamic_calc/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_dynamic_calc/__init__.py rename to tests/dictionaries/20family_dynamic_calc/__init__.py diff --git a/tests/flattener_dicos/20family_dynamic_calc/makedict/base.json b/tests/dictionaries/20family_dynamic_calc/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_dynamic_calc/makedict/base.json rename to tests/dictionaries/20family_dynamic_calc/makedict/base.json diff --git a/tests/flattener_dicos/20family_dynamic_calc/tiramisu/__init__.py b/tests/dictionaries/20family_dynamic_calc/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_dynamic_calc/tiramisu/__init__.py rename to tests/dictionaries/20family_dynamic_calc/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_dynamic_calc/tiramisu/base.py b/tests/dictionaries/20family_dynamic_calc/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/20family_dynamic_calc/tiramisu/base.py rename to tests/dictionaries/20family_dynamic_calc/tiramisu/base.py index 5f7e13a9..8048c18b 100644 --- a/tests/flattener_dicos/20family_dynamic_calc/tiramisu/base.py +++ b/tests/dictionaries/20family_dynamic_calc/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='varname', doc='No change', multi=True, default=['val1', 'val2'], default_multi='val2') option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_5 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='vardyn', doc='No change', multi=False, default='val') diff --git a/tests/flattener_dicos/20family_dynamic_number/00-base.xml b/tests/dictionaries/20family_dynamic_number/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_dynamic_number/00-base.xml rename to tests/dictionaries/20family_dynamic_number/00-base.xml diff --git a/tests/flattener_dicos/20family_dynamic_number/__init__.py b/tests/dictionaries/20family_dynamic_number/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_dynamic_number/__init__.py rename to tests/dictionaries/20family_dynamic_number/__init__.py diff --git a/tests/flattener_dicos/20family_dynamic_number/makedict/base.json b/tests/dictionaries/20family_dynamic_number/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_dynamic_number/makedict/base.json rename to tests/dictionaries/20family_dynamic_number/makedict/base.json diff --git a/tests/flattener_dicos/20family_dynamic_number/tiramisu/__init__.py b/tests/dictionaries/20family_dynamic_number/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_dynamic_number/tiramisu/__init__.py rename to tests/dictionaries/20family_dynamic_number/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_dynamic_number/tiramisu/base.py b/tests/dictionaries/20family_dynamic_number/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/20family_dynamic_number/tiramisu/base.py rename to tests/dictionaries/20family_dynamic_number/tiramisu/base.py index 0f461578..3021baf3 100644 --- a/tests/flattener_dicos/20family_dynamic_number/tiramisu/base.py +++ b/tests/dictionaries/20family_dynamic_number/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = IntOption(properties=frozenset({'mandatory', 'normal'}), name='varname', doc='No change', multi=True, default=[1, 2], default_multi=2) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_5 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='vardyn', doc='No change', multi=False, default='val') diff --git a/tests/flattener_dicos/20family_empty/00-base.xml b/tests/dictionaries/20family_empty/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_empty/00-base.xml rename to tests/dictionaries/20family_empty/00-base.xml diff --git a/tests/flattener_dicos/20family_empty/__init__.py b/tests/dictionaries/20family_empty/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_empty/__init__.py rename to tests/dictionaries/20family_empty/__init__.py diff --git a/tests/flattener_dicos/20family_empty/makedict/base.json b/tests/dictionaries/20family_empty/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_empty/makedict/base.json rename to tests/dictionaries/20family_empty/makedict/base.json diff --git a/tests/flattener_dicos/20family_empty/tiramisu/__init__.py b/tests/dictionaries/20family_empty/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_empty/tiramisu/__init__.py rename to tests/dictionaries/20family_empty/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_empty/tiramisu/base.py b/tests/dictionaries/20family_empty/tiramisu/base.py similarity index 87% rename from tests/flattener_dicos/20family_empty/tiramisu/base.py rename to tests/dictionaries/20family_empty/tiramisu/base.py index 5564f282..1a498a0f 100644 --- a/tests/flattener_dicos/20family_empty/tiramisu/base.py +++ b/tests/dictionaries/20family_empty/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'basic', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'basic'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/20family_hidden/00-base.xml b/tests/dictionaries/20family_hidden/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_hidden/00-base.xml rename to tests/dictionaries/20family_hidden/00-base.xml diff --git a/tests/flattener_dicos/20family_hidden/01-base.xml b/tests/dictionaries/20family_hidden/01-base.xml similarity index 100% rename from tests/flattener_dicos/20family_hidden/01-base.xml rename to tests/dictionaries/20family_hidden/01-base.xml diff --git a/tests/flattener_dicos/20family_hidden/__init__.py b/tests/dictionaries/20family_hidden/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_hidden/__init__.py rename to tests/dictionaries/20family_hidden/__init__.py diff --git a/tests/flattener_dicos/20family_hidden/makedict/base.json b/tests/dictionaries/20family_hidden/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_hidden/makedict/base.json rename to tests/dictionaries/20family_hidden/makedict/base.json diff --git a/tests/flattener_dicos/20family_hidden/tiramisu/__init__.py b/tests/dictionaries/20family_hidden/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_hidden/tiramisu/__init__.py rename to tests/dictionaries/20family_hidden/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_hidden/tiramisu/base.py b/tests/dictionaries/20family_hidden/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/20family_hidden/tiramisu/base.py rename to tests/dictionaries/20family_hidden/tiramisu/base.py index 0ad7e3eb..ab28cd29 100644 --- a/tests/flattener_dicos/20family_hidden/tiramisu/base.py +++ b/tests/dictionaries/20family_hidden/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'hidden', 'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/20family_mode/00-base.xml b/tests/dictionaries/20family_mode/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_mode/00-base.xml rename to tests/dictionaries/20family_mode/00-base.xml diff --git a/tests/flattener_dicos/20family_mode/__init__.py b/tests/dictionaries/20family_mode/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_mode/__init__.py rename to tests/dictionaries/20family_mode/__init__.py diff --git a/tests/flattener_dicos/20family_mode/makedict/base.json b/tests/dictionaries/20family_mode/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_mode/makedict/base.json rename to tests/dictionaries/20family_mode/makedict/base.json diff --git a/tests/flattener_dicos/20family_mode/tiramisu/__init__.py b/tests/dictionaries/20family_mode/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_mode/tiramisu/__init__.py rename to tests/dictionaries/20family_mode/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_mode/tiramisu/base.py b/tests/dictionaries/20family_mode/tiramisu/base.py similarity index 87% rename from tests/flattener_dicos/20family_mode/tiramisu/base.py rename to tests/dictionaries/20family_mode/tiramisu/base.py index 5564f282..1a498a0f 100644 --- a/tests/flattener_dicos/20family_mode/tiramisu/base.py +++ b/tests/dictionaries/20family_mode/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'basic', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'basic'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/20family_modeleadership/00-base.xml b/tests/dictionaries/20family_modeleadership/00-base.xml similarity index 100% rename from tests/flattener_dicos/20family_modeleadership/00-base.xml rename to tests/dictionaries/20family_modeleadership/00-base.xml diff --git a/tests/flattener_dicos/20family_modeleadership/__init__.py b/tests/dictionaries/20family_modeleadership/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_modeleadership/__init__.py rename to tests/dictionaries/20family_modeleadership/__init__.py diff --git a/tests/flattener_dicos/20family_modeleadership/makedict/base.json b/tests/dictionaries/20family_modeleadership/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20family_modeleadership/makedict/base.json rename to tests/dictionaries/20family_modeleadership/makedict/base.json diff --git a/tests/flattener_dicos/20family_modeleadership/tiramisu/__init__.py b/tests/dictionaries/20family_modeleadership/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20family_modeleadership/tiramisu/__init__.py rename to tests/dictionaries/20family_modeleadership/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20family_modeleadership/tiramisu/base.py b/tests/dictionaries/20family_modeleadership/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/20family_modeleadership/tiramisu/base.py rename to tests/dictionaries/20family_modeleadership/tiramisu/base.py index 750be987..95b2342e 100644 --- a/tests/flattener_dicos/20family_modeleadership/tiramisu/base.py +++ b/tests/dictionaries/20family_modeleadership/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = StrOption(name='leader', doc='leader', multi=True) option_6 = StrOption(properties=frozenset({'normal'}), name='follower1', doc='follower1', multi=True) diff --git a/tests/flattener_dicos/20notemplating/00-base.xml b/tests/dictionaries/20notemplating/00-base.xml similarity index 100% rename from tests/flattener_dicos/20notemplating/00-base.xml rename to tests/dictionaries/20notemplating/00-base.xml diff --git a/tests/flattener_dicos/20notemplating/__init__.py b/tests/dictionaries/20notemplating/__init__.py similarity index 100% rename from tests/flattener_dicos/20notemplating/__init__.py rename to tests/dictionaries/20notemplating/__init__.py diff --git a/tests/flattener_dicos/20notemplating/makedict/base.json b/tests/dictionaries/20notemplating/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20notemplating/makedict/base.json rename to tests/dictionaries/20notemplating/makedict/base.json diff --git a/tests/templates/20notemplating/result/etc/file b/tests/dictionaries/20notemplating/result/etc/file similarity index 100% rename from tests/templates/20notemplating/result/etc/file rename to tests/dictionaries/20notemplating/result/etc/file diff --git a/tests/flattener_dicos/20notemplating/tiramisu/__init__.py b/tests/dictionaries/20notemplating/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20notemplating/tiramisu/__init__.py rename to tests/dictionaries/20notemplating/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20notemplating/tiramisu/base.py b/tests/dictionaries/20notemplating/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/20notemplating/tiramisu/base.py rename to tests/dictionaries/20notemplating/tiramisu/base.py index 13f053b2..3d6f1baa 100644 --- a/tests/flattener_dicos/20notemplating/tiramisu/base.py +++ b/tests/dictionaries/20notemplating/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/templates/20notemplating/tmpl/file b/tests/dictionaries/20notemplating/tmpl/file similarity index 100% rename from tests/templates/20notemplating/tmpl/file rename to tests/dictionaries/20notemplating/tmpl/file diff --git a/tests/flattener_dicos/20override/00-base.xml b/tests/dictionaries/20override/00-base.xml similarity index 100% rename from tests/flattener_dicos/20override/00-base.xml rename to tests/dictionaries/20override/00-base.xml diff --git a/tests/flattener_dicos/20override/__init__.py b/tests/dictionaries/20override/__init__.py similarity index 100% rename from tests/flattener_dicos/20override/__init__.py rename to tests/dictionaries/20override/__init__.py diff --git a/tests/flattener_dicos/20override/makedict/base.json b/tests/dictionaries/20override/makedict/base.json similarity index 100% rename from tests/flattener_dicos/20override/makedict/base.json rename to tests/dictionaries/20override/makedict/base.json diff --git a/tests/templates/20override/result/systemd/system/test.service.d/rougail.conf b/tests/dictionaries/20override/result/systemd/system/test.service.d/rougail.conf similarity index 100% rename from tests/templates/20override/result/systemd/system/test.service.d/rougail.conf rename to tests/dictionaries/20override/result/systemd/system/test.service.d/rougail.conf diff --git a/tests/flattener_dicos/20override/tiramisu/__init__.py b/tests/dictionaries/20override/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/20override/tiramisu/__init__.py rename to tests/dictionaries/20override/tiramisu/__init__.py diff --git a/tests/flattener_dicos/20override/tiramisu/base.py b/tests/dictionaries/20override/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/20override/tiramisu/base.py rename to tests/dictionaries/20override/tiramisu/base.py index 1f93931f..54a6fd2b 100644 --- a/tests/flattener_dicos/20override/tiramisu/base.py +++ b/tests/dictionaries/20override/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/templates/20override/tmpl/test.service b/tests/dictionaries/20override/tmpl/test.service similarity index 100% rename from tests/templates/20override/tmpl/test.service rename to tests/dictionaries/20override/tmpl/test.service diff --git a/tests/flattener_dicos/21family_change/00-base.xml b/tests/dictionaries/21family_change/00-base.xml similarity index 100% rename from tests/flattener_dicos/21family_change/00-base.xml rename to tests/dictionaries/21family_change/00-base.xml diff --git a/tests/flattener_dicos/21family_change/01-base.xml b/tests/dictionaries/21family_change/01-base.xml similarity index 100% rename from tests/flattener_dicos/21family_change/01-base.xml rename to tests/dictionaries/21family_change/01-base.xml diff --git a/tests/flattener_dicos/21family_change/__init__.py b/tests/dictionaries/21family_change/__init__.py similarity index 100% rename from tests/flattener_dicos/21family_change/__init__.py rename to tests/dictionaries/21family_change/__init__.py diff --git a/tests/flattener_dicos/21family_change/makedict/base.json b/tests/dictionaries/21family_change/makedict/base.json similarity index 100% rename from tests/flattener_dicos/21family_change/makedict/base.json rename to tests/dictionaries/21family_change/makedict/base.json diff --git a/tests/flattener_dicos/21family_change/tiramisu/__init__.py b/tests/dictionaries/21family_change/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/21family_change/tiramisu/__init__.py rename to tests/dictionaries/21family_change/tiramisu/__init__.py diff --git a/tests/flattener_dicos/21family_change/tiramisu/base.py b/tests/dictionaries/21family_change/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/21family_change/tiramisu/base.py rename to tests/dictionaries/21family_change/tiramisu/base.py index 656a3a6f..57cf2f2e 100644 --- a/tests/flattener_dicos/21family_change/tiramisu/base.py +++ b/tests/dictionaries/21family_change/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/21family_changeaccent/00-base.xml b/tests/dictionaries/21family_changeaccent/00-base.xml similarity index 100% rename from tests/flattener_dicos/21family_changeaccent/00-base.xml rename to tests/dictionaries/21family_changeaccent/00-base.xml diff --git a/tests/flattener_dicos/21family_changeaccent/01-base.xml b/tests/dictionaries/21family_changeaccent/01-base.xml similarity index 100% rename from tests/flattener_dicos/21family_changeaccent/01-base.xml rename to tests/dictionaries/21family_changeaccent/01-base.xml diff --git a/tests/flattener_dicos/21family_changeaccent/__init__.py b/tests/dictionaries/21family_changeaccent/__init__.py similarity index 100% rename from tests/flattener_dicos/21family_changeaccent/__init__.py rename to tests/dictionaries/21family_changeaccent/__init__.py diff --git a/tests/flattener_dicos/21family_changeaccent/makedict/base.json b/tests/dictionaries/21family_changeaccent/makedict/base.json similarity index 100% rename from tests/flattener_dicos/21family_changeaccent/makedict/base.json rename to tests/dictionaries/21family_changeaccent/makedict/base.json diff --git a/tests/flattener_dicos/21family_changeaccent/tiramisu/__init__.py b/tests/dictionaries/21family_changeaccent/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/21family_changeaccent/tiramisu/__init__.py rename to tests/dictionaries/21family_changeaccent/tiramisu/__init__.py diff --git a/tests/flattener_dicos/21family_changeaccent/tiramisu/base.py b/tests/dictionaries/21family_changeaccent/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/21family_changeaccent/tiramisu/base.py rename to tests/dictionaries/21family_changeaccent/tiramisu/base.py index 06befc68..3e2956c2 100644 --- a/tests/flattener_dicos/21family_changeaccent/tiramisu/base.py +++ b/tests/dictionaries/21family_changeaccent/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='Général', properties=frozenset({'normal'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/21family_empty/00-base.xml b/tests/dictionaries/21family_empty/00-base.xml similarity index 100% rename from tests/flattener_dicos/21family_empty/00-base.xml rename to tests/dictionaries/21family_empty/00-base.xml diff --git a/tests/flattener_dicos/21family_empty/__init__.py b/tests/dictionaries/21family_empty/__init__.py similarity index 100% rename from tests/flattener_dicos/21family_empty/__init__.py rename to tests/dictionaries/21family_empty/__init__.py diff --git a/tests/flattener_dicos/21family_empty/makedict/base.json b/tests/dictionaries/21family_empty/makedict/base.json similarity index 100% rename from tests/flattener_dicos/21family_empty/makedict/base.json rename to tests/dictionaries/21family_empty/makedict/base.json diff --git a/tests/flattener_dicos/21family_empty/tiramisu/__init__.py b/tests/dictionaries/21family_empty/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/21family_empty/tiramisu/__init__.py rename to tests/dictionaries/21family_empty/tiramisu/__init__.py diff --git a/tests/flattener_dicos/21family_empty/tiramisu/base.py b/tests/dictionaries/21family_empty/tiramisu/base.py similarity index 87% rename from tests/flattener_dicos/21family_empty/tiramisu/base.py rename to tests/dictionaries/21family_empty/tiramisu/base.py index 5783a3af..f6fe39fc 100644 --- a/tests/flattener_dicos/21family_empty/tiramisu/base.py +++ b/tests/dictionaries/21family_empty/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/30mandatory_withoutvalue/00-base.xml b/tests/dictionaries/30mandatory_withoutvalue/00-base.xml similarity index 100% rename from tests/flattener_dicos/30mandatory_withoutvalue/00-base.xml rename to tests/dictionaries/30mandatory_withoutvalue/00-base.xml diff --git a/tests/flattener_dicos/30mandatory_withoutvalue/__init__.py b/tests/dictionaries/30mandatory_withoutvalue/__init__.py similarity index 100% rename from tests/flattener_dicos/30mandatory_withoutvalue/__init__.py rename to tests/dictionaries/30mandatory_withoutvalue/__init__.py diff --git a/tests/flattener_dicos/30mandatory_withoutvalue/makedict/base.json b/tests/dictionaries/30mandatory_withoutvalue/makedict/base.json similarity index 100% rename from tests/flattener_dicos/30mandatory_withoutvalue/makedict/base.json rename to tests/dictionaries/30mandatory_withoutvalue/makedict/base.json diff --git a/tests/flattener_dicos/30mandatory_withoutvalue/tiramisu/__init__.py b/tests/dictionaries/30mandatory_withoutvalue/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/30mandatory_withoutvalue/tiramisu/__init__.py rename to tests/dictionaries/30mandatory_withoutvalue/tiramisu/__init__.py diff --git a/tests/flattener_dicos/30mandatory_withoutvalue/tiramisu/base.py b/tests/dictionaries/30mandatory_withoutvalue/tiramisu/base.py similarity index 86% rename from tests/flattener_dicos/30mandatory_withoutvalue/tiramisu/base.py rename to tests/dictionaries/30mandatory_withoutvalue/tiramisu/base.py index 68122e25..9d94926d 100644 --- a/tests/flattener_dicos/30mandatory_withoutvalue/tiramisu/base.py +++ b/tests/dictionaries/30mandatory_withoutvalue/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'basic', 'mandatory'}), name='mode_conteneur_actif', doc='No change', multi=False) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'basic'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/30mandatory_withoutvaluecalc/00-base.xml b/tests/dictionaries/30mandatory_withoutvaluecalc/00-base.xml similarity index 100% rename from tests/flattener_dicos/30mandatory_withoutvaluecalc/00-base.xml rename to tests/dictionaries/30mandatory_withoutvaluecalc/00-base.xml diff --git a/tests/flattener_dicos/30mandatory_withoutvaluecalc/__init__.py b/tests/dictionaries/30mandatory_withoutvaluecalc/__init__.py similarity index 100% rename from tests/flattener_dicos/30mandatory_withoutvaluecalc/__init__.py rename to tests/dictionaries/30mandatory_withoutvaluecalc/__init__.py diff --git a/tests/flattener_dicos/30mandatory_withoutvaluecalc/makedict/base.json b/tests/dictionaries/30mandatory_withoutvaluecalc/makedict/base.json similarity index 100% rename from tests/flattener_dicos/30mandatory_withoutvaluecalc/makedict/base.json rename to tests/dictionaries/30mandatory_withoutvaluecalc/makedict/base.json diff --git a/tests/flattener_dicos/30mandatory_withoutvaluecalc/tiramisu/__init__.py b/tests/dictionaries/30mandatory_withoutvaluecalc/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/30mandatory_withoutvaluecalc/tiramisu/__init__.py rename to tests/dictionaries/30mandatory_withoutvaluecalc/tiramisu/__init__.py diff --git a/tests/flattener_dicos/30mandatory_withoutvaluecalc/tiramisu/base.py b/tests/dictionaries/30mandatory_withoutvaluecalc/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/30mandatory_withoutvaluecalc/tiramisu/base.py rename to tests/dictionaries/30mandatory_withoutvaluecalc/tiramisu/base.py index d0607494..76789e5f 100644 --- a/tests/flattener_dicos/30mandatory_withoutvaluecalc/tiramisu/base.py +++ b/tests/dictionaries/30mandatory_withoutvaluecalc/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamValue("value")), kwargs={}))) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/30mandatory_withvalue/00-base.xml b/tests/dictionaries/30mandatory_withvalue/00-base.xml similarity index 100% rename from tests/flattener_dicos/30mandatory_withvalue/00-base.xml rename to tests/dictionaries/30mandatory_withvalue/00-base.xml diff --git a/tests/flattener_dicos/30mandatory_withvalue/__init__.py b/tests/dictionaries/30mandatory_withvalue/__init__.py similarity index 100% rename from tests/flattener_dicos/30mandatory_withvalue/__init__.py rename to tests/dictionaries/30mandatory_withvalue/__init__.py diff --git a/tests/flattener_dicos/30mandatory_withvalue/makedict/base.json b/tests/dictionaries/30mandatory_withvalue/makedict/base.json similarity index 100% rename from tests/flattener_dicos/30mandatory_withvalue/makedict/base.json rename to tests/dictionaries/30mandatory_withvalue/makedict/base.json diff --git a/tests/flattener_dicos/30mandatory_withvalue/tiramisu/__init__.py b/tests/dictionaries/30mandatory_withvalue/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/30mandatory_withvalue/tiramisu/__init__.py rename to tests/dictionaries/30mandatory_withvalue/tiramisu/__init__.py diff --git a/tests/flattener_dicos/30mandatory_withvalue/tiramisu/base.py b/tests/dictionaries/30mandatory_withvalue/tiramisu/base.py similarity index 87% rename from tests/flattener_dicos/30mandatory_withvalue/tiramisu/base.py rename to tests/dictionaries/30mandatory_withvalue/tiramisu/base.py index d4754797..1de984bf 100644 --- a/tests/flattener_dicos/30mandatory_withvalue/tiramisu/base.py +++ b/tests/dictionaries/30mandatory_withvalue/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='value') option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/30mandatory_withvaluecalc/00-base.xml b/tests/dictionaries/30mandatory_withvaluecalc/00-base.xml similarity index 100% rename from tests/flattener_dicos/30mandatory_withvaluecalc/00-base.xml rename to tests/dictionaries/30mandatory_withvaluecalc/00-base.xml diff --git a/tests/flattener_dicos/30mandatory_withvaluecalc/__init__.py b/tests/dictionaries/30mandatory_withvaluecalc/__init__.py similarity index 100% rename from tests/flattener_dicos/30mandatory_withvaluecalc/__init__.py rename to tests/dictionaries/30mandatory_withvaluecalc/__init__.py diff --git a/tests/flattener_dicos/30mandatory_withvaluecalc/makedict/base.json b/tests/dictionaries/30mandatory_withvaluecalc/makedict/base.json similarity index 100% rename from tests/flattener_dicos/30mandatory_withvaluecalc/makedict/base.json rename to tests/dictionaries/30mandatory_withvaluecalc/makedict/base.json diff --git a/tests/flattener_dicos/30mandatory_withvaluecalc/tiramisu/__init__.py b/tests/dictionaries/30mandatory_withvaluecalc/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/30mandatory_withvaluecalc/tiramisu/__init__.py rename to tests/dictionaries/30mandatory_withvaluecalc/tiramisu/__init__.py diff --git a/tests/flattener_dicos/30mandatory_withvaluecalc/tiramisu/base.py b/tests/dictionaries/30mandatory_withvaluecalc/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/30mandatory_withvaluecalc/tiramisu/base.py rename to tests/dictionaries/30mandatory_withvaluecalc/tiramisu/base.py index c5a386fc..925bcc2a 100644 --- a/tests/flattener_dicos/30mandatory_withvaluecalc/tiramisu/base.py +++ b/tests/dictionaries/30mandatory_withvaluecalc/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.calc_val, Params((ParamValue("value")), kwargs={}))) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/40condition_base/00-base.xml b/tests/dictionaries/40condition_base/00-base.xml similarity index 100% rename from tests/flattener_dicos/40condition_base/00-base.xml rename to tests/dictionaries/40condition_base/00-base.xml diff --git a/tests/flattener_dicos/40condition_base/__init__.py b/tests/dictionaries/40condition_base/__init__.py similarity index 100% rename from tests/flattener_dicos/40condition_base/__init__.py rename to tests/dictionaries/40condition_base/__init__.py diff --git a/tests/flattener_dicos/40condition_base/makedict/base.json b/tests/dictionaries/40condition_base/makedict/base.json similarity index 100% rename from tests/flattener_dicos/40condition_base/makedict/base.json rename to tests/dictionaries/40condition_base/makedict/base.json diff --git a/tests/flattener_dicos/40condition_base/tiramisu/__init__.py b/tests/dictionaries/40condition_base/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/40condition_base/tiramisu/__init__.py rename to tests/dictionaries/40condition_base/tiramisu/__init__.py diff --git a/tests/flattener_dicos/40condition_base/tiramisu/base.py b/tests/dictionaries/40condition_base/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/40condition_base/tiramisu/base.py rename to tests/dictionaries/40condition_base/tiramisu/base.py index 559c540b..033f538e 100644 --- a/tests/flattener_dicos/40condition_base/tiramisu/base.py +++ b/tests/dictionaries/40condition_base/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/40condition_fallback/00-base.xml b/tests/dictionaries/40condition_fallback/00-base.xml similarity index 100% rename from tests/flattener_dicos/40condition_fallback/00-base.xml rename to tests/dictionaries/40condition_fallback/00-base.xml diff --git a/tests/flattener_dicos/40condition_fallback/__init__.py b/tests/dictionaries/40condition_fallback/__init__.py similarity index 100% rename from tests/flattener_dicos/40condition_fallback/__init__.py rename to tests/dictionaries/40condition_fallback/__init__.py diff --git a/tests/flattener_dicos/40condition_fallback/makedict/base.json b/tests/dictionaries/40condition_fallback/makedict/base.json similarity index 100% rename from tests/flattener_dicos/40condition_fallback/makedict/base.json rename to tests/dictionaries/40condition_fallback/makedict/base.json diff --git a/tests/flattener_dicos/40condition_fallback/tiramisu/__init__.py b/tests/dictionaries/40condition_fallback/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/40condition_fallback/tiramisu/__init__.py rename to tests/dictionaries/40condition_fallback/tiramisu/__init__.py diff --git a/tests/flattener_dicos/40condition_fallback/tiramisu/base.py b/tests/dictionaries/40condition_fallback/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/40condition_fallback/tiramisu/base.py rename to tests/dictionaries/40condition_fallback/tiramisu/base.py index 31bcc573..e6b9072c 100644 --- a/tests/flattener_dicos/40condition_fallback/tiramisu/base.py +++ b/tests/dictionaries/40condition_fallback/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'disabled', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'disabled', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/40condition_optional/00-base.xml b/tests/dictionaries/40condition_optional/00-base.xml similarity index 100% rename from tests/flattener_dicos/40condition_optional/00-base.xml rename to tests/dictionaries/40condition_optional/00-base.xml diff --git a/tests/flattener_dicos/40condition_optional/__init__.py b/tests/dictionaries/40condition_optional/__init__.py similarity index 100% rename from tests/flattener_dicos/40condition_optional/__init__.py rename to tests/dictionaries/40condition_optional/__init__.py diff --git a/tests/flattener_dicos/40condition_optional/makedict/base.json b/tests/dictionaries/40condition_optional/makedict/base.json similarity index 100% rename from tests/flattener_dicos/40condition_optional/makedict/base.json rename to tests/dictionaries/40condition_optional/makedict/base.json diff --git a/tests/flattener_dicos/40condition_optional/tiramisu/__init__.py b/tests/dictionaries/40condition_optional/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/40condition_optional/tiramisu/__init__.py rename to tests/dictionaries/40condition_optional/tiramisu/__init__.py diff --git a/tests/flattener_dicos/40condition_optional/tiramisu/base.py b/tests/dictionaries/40condition_optional/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/40condition_optional/tiramisu/base.py rename to tests/dictionaries/40condition_optional/tiramisu/base.py index 6e3280b2..64367a39 100644 --- a/tests/flattener_dicos/40condition_optional/tiramisu/base.py +++ b/tests/dictionaries/40condition_optional/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_4, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/40hidden_if_in_group_fallback/00-base.xml b/tests/dictionaries/40hidden_if_in_group_fallback/00-base.xml similarity index 100% rename from tests/flattener_dicos/40hidden_if_in_group_fallback/00-base.xml rename to tests/dictionaries/40hidden_if_in_group_fallback/00-base.xml diff --git a/tests/flattener_dicos/40hidden_if_in_group_fallback/__init__.py b/tests/dictionaries/40hidden_if_in_group_fallback/__init__.py similarity index 100% rename from tests/flattener_dicos/40hidden_if_in_group_fallback/__init__.py rename to tests/dictionaries/40hidden_if_in_group_fallback/__init__.py diff --git a/tests/flattener_dicos/40hidden_if_in_group_fallback/makedict/base.json b/tests/dictionaries/40hidden_if_in_group_fallback/makedict/base.json similarity index 100% rename from tests/flattener_dicos/40hidden_if_in_group_fallback/makedict/base.json rename to tests/dictionaries/40hidden_if_in_group_fallback/makedict/base.json diff --git a/tests/flattener_dicos/40hidden_if_in_group_fallback/tiramisu/__init__.py b/tests/dictionaries/40hidden_if_in_group_fallback/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/40hidden_if_in_group_fallback/tiramisu/__init__.py rename to tests/dictionaries/40hidden_if_in_group_fallback/tiramisu/__init__.py diff --git a/tests/flattener_dicos/40hidden_if_in_group_fallback/tiramisu/base.py b/tests/dictionaries/40hidden_if_in_group_fallback/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/40hidden_if_in_group_fallback/tiramisu/base.py rename to tests/dictionaries/40hidden_if_in_group_fallback/tiramisu/base.py index 196f78e4..4de3e2af 100644 --- a/tests/flattener_dicos/40hidden_if_in_group_fallback/tiramisu/base.py +++ b/tests/dictionaries/40hidden_if_in_group_fallback/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'mandatory'}), name='mode_conteneur_actif1', doc='No change', multi=True, default=['non'], values=('oui', 'non')) option_6 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=True, default_multi='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/40ifin_leadership/00-base.xml b/tests/dictionaries/40ifin_leadership/00-base.xml similarity index 100% rename from tests/flattener_dicos/40ifin_leadership/00-base.xml rename to tests/dictionaries/40ifin_leadership/00-base.xml diff --git a/tests/flattener_dicos/40ifin_leadership/__init__.py b/tests/dictionaries/40ifin_leadership/__init__.py similarity index 100% rename from tests/flattener_dicos/40ifin_leadership/__init__.py rename to tests/dictionaries/40ifin_leadership/__init__.py diff --git a/tests/flattener_dicos/40ifin_leadership/makedict/base.json b/tests/dictionaries/40ifin_leadership/makedict/base.json similarity index 100% rename from tests/flattener_dicos/40ifin_leadership/makedict/base.json rename to tests/dictionaries/40ifin_leadership/makedict/base.json diff --git a/tests/flattener_dicos/40ifin_leadership/tiramisu/__init__.py b/tests/dictionaries/40ifin_leadership/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/40ifin_leadership/tiramisu/__init__.py rename to tests/dictionaries/40ifin_leadership/tiramisu/__init__.py diff --git a/tests/flattener_dicos/40ifin_leadership/tiramisu/base.py b/tests/dictionaries/40ifin_leadership/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/40ifin_leadership/tiramisu/base.py rename to tests/dictionaries/40ifin_leadership/tiramisu/base.py index 1c97b9f2..b362c189 100644 --- a/tests/flattener_dicos/40ifin_leadership/tiramisu/base.py +++ b/tests/dictionaries/40ifin_leadership/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='condition', multi=False, default='oui', values=('oui', 'non')) option_6 = StrOption(name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/40ifin_leadershipauto/00-base.xml b/tests/dictionaries/40ifin_leadershipauto/00-base.xml similarity index 100% rename from tests/flattener_dicos/40ifin_leadershipauto/00-base.xml rename to tests/dictionaries/40ifin_leadershipauto/00-base.xml diff --git a/tests/flattener_dicos/40ifin_leadershipauto/__init__.py b/tests/dictionaries/40ifin_leadershipauto/__init__.py similarity index 100% rename from tests/flattener_dicos/40ifin_leadershipauto/__init__.py rename to tests/dictionaries/40ifin_leadershipauto/__init__.py diff --git a/tests/flattener_dicos/40ifin_leadershipauto/makedict/base.json b/tests/dictionaries/40ifin_leadershipauto/makedict/base.json similarity index 100% rename from tests/flattener_dicos/40ifin_leadershipauto/makedict/base.json rename to tests/dictionaries/40ifin_leadershipauto/makedict/base.json diff --git a/tests/flattener_dicos/40ifin_leadershipauto/tiramisu/__init__.py b/tests/dictionaries/40ifin_leadershipauto/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/40ifin_leadershipauto/tiramisu/__init__.py rename to tests/dictionaries/40ifin_leadershipauto/tiramisu/__init__.py diff --git a/tests/flattener_dicos/40ifin_leadershipauto/tiramisu/base.py b/tests/dictionaries/40ifin_leadershipauto/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/40ifin_leadershipauto/tiramisu/base.py rename to tests/dictionaries/40ifin_leadershipauto/tiramisu/base.py index 64e522c4..5f34a798 100644 --- a/tests/flattener_dicos/40ifin_leadershipauto/tiramisu/base.py +++ b/tests/dictionaries/40ifin_leadershipauto/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='condition', multi=False, default='oui', values=('oui', 'non')) option_6 = StrOption(name='leader', doc='leader', multi=True) diff --git a/tests/flattener_dicos/40ifin_multi/00-base.xml b/tests/dictionaries/40ifin_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/40ifin_multi/00-base.xml rename to tests/dictionaries/40ifin_multi/00-base.xml diff --git a/tests/flattener_dicos/40ifin_multi/__init__.py b/tests/dictionaries/40ifin_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/40ifin_multi/__init__.py rename to tests/dictionaries/40ifin_multi/__init__.py diff --git a/tests/flattener_dicos/40ifin_multi/makedict/base.json b/tests/dictionaries/40ifin_multi/makedict/base.json similarity index 100% rename from tests/flattener_dicos/40ifin_multi/makedict/base.json rename to tests/dictionaries/40ifin_multi/makedict/base.json diff --git a/tests/flattener_dicos/40ifin_multi/tiramisu/__init__.py b/tests/dictionaries/40ifin_multi/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/40ifin_multi/tiramisu/__init__.py rename to tests/dictionaries/40ifin_multi/tiramisu/__init__.py diff --git a/tests/flattener_dicos/40ifin_multi/tiramisu/base.py b/tests/dictionaries/40ifin_multi/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/40ifin_multi/tiramisu/base.py rename to tests/dictionaries/40ifin_multi/tiramisu/base.py index d185b4e9..1d563b50 100644 --- a/tests/flattener_dicos/40ifin_multi/tiramisu/base.py +++ b/tests/dictionaries/40ifin_multi/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/40ifin_validenum/00-base.xml b/tests/dictionaries/40ifin_validenum/00-base.xml similarity index 100% rename from tests/flattener_dicos/40ifin_validenum/00-base.xml rename to tests/dictionaries/40ifin_validenum/00-base.xml diff --git a/tests/flattener_dicos/40ifin_validenum/__init__.py b/tests/dictionaries/40ifin_validenum/__init__.py similarity index 100% rename from tests/flattener_dicos/40ifin_validenum/__init__.py rename to tests/dictionaries/40ifin_validenum/__init__.py diff --git a/tests/flattener_dicos/40ifin_validenum/makedict/base.json b/tests/dictionaries/40ifin_validenum/makedict/base.json similarity index 100% rename from tests/flattener_dicos/40ifin_validenum/makedict/base.json rename to tests/dictionaries/40ifin_validenum/makedict/base.json diff --git a/tests/flattener_dicos/40ifin_validenum/tiramisu/__init__.py b/tests/dictionaries/40ifin_validenum/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/40ifin_validenum/tiramisu/__init__.py rename to tests/dictionaries/40ifin_validenum/tiramisu/__init__.py diff --git a/tests/flattener_dicos/40ifin_validenum/tiramisu/base.py b/tests/dictionaries/40ifin_validenum/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/40ifin_validenum/tiramisu/base.py rename to tests/dictionaries/40ifin_validenum/tiramisu/base.py index 9d21fbed..94d8ca34 100644 --- a/tests/flattener_dicos/40ifin_validenum/tiramisu/base.py +++ b/tests/dictionaries/40ifin_validenum/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'disabled', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/50exists_exists/00-base.xml b/tests/dictionaries/50exists_exists/00-base.xml similarity index 100% rename from tests/flattener_dicos/50exists_exists/00-base.xml rename to tests/dictionaries/50exists_exists/00-base.xml diff --git a/tests/flattener_dicos/50exists_exists/01-base.xml b/tests/dictionaries/50exists_exists/01-base.xml similarity index 100% rename from tests/flattener_dicos/50exists_exists/01-base.xml rename to tests/dictionaries/50exists_exists/01-base.xml diff --git a/tests/flattener_dicos/50exists_exists/__init__.py b/tests/dictionaries/50exists_exists/__init__.py similarity index 100% rename from tests/flattener_dicos/50exists_exists/__init__.py rename to tests/dictionaries/50exists_exists/__init__.py diff --git a/tests/flattener_dicos/50exists_exists/makedict/base.json b/tests/dictionaries/50exists_exists/makedict/base.json similarity index 100% rename from tests/flattener_dicos/50exists_exists/makedict/base.json rename to tests/dictionaries/50exists_exists/makedict/base.json diff --git a/tests/flattener_dicos/50exists_exists/tiramisu/__init__.py b/tests/dictionaries/50exists_exists/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/50exists_exists/tiramisu/__init__.py rename to tests/dictionaries/50exists_exists/tiramisu/__init__.py diff --git a/tests/flattener_dicos/50exists_exists/tiramisu/base.py b/tests/dictionaries/50exists_exists/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/50exists_exists/tiramisu/base.py rename to tests/dictionaries/50exists_exists/tiramisu/base.py index 5e788bc0..aaf49488 100644 --- a/tests/flattener_dicos/50exists_exists/tiramisu/base.py +++ b/tests/dictionaries/50exists_exists/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='Description', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/50redefine_description/00-base.xml b/tests/dictionaries/50redefine_description/00-base.xml similarity index 100% rename from tests/flattener_dicos/50redefine_description/00-base.xml rename to tests/dictionaries/50redefine_description/00-base.xml diff --git a/tests/flattener_dicos/50redefine_description/01-redefine.xml b/tests/dictionaries/50redefine_description/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/50redefine_description/01-redefine.xml rename to tests/dictionaries/50redefine_description/01-redefine.xml diff --git a/tests/flattener_dicos/50redefine_description/__init__.py b/tests/dictionaries/50redefine_description/__init__.py similarity index 100% rename from tests/flattener_dicos/50redefine_description/__init__.py rename to tests/dictionaries/50redefine_description/__init__.py diff --git a/tests/flattener_dicos/50redefine_description/makedict/base.json b/tests/dictionaries/50redefine_description/makedict/base.json similarity index 100% rename from tests/flattener_dicos/50redefine_description/makedict/base.json rename to tests/dictionaries/50redefine_description/makedict/base.json diff --git a/tests/flattener_dicos/50redefine_description/tiramisu/__init__.py b/tests/dictionaries/50redefine_description/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/50redefine_description/tiramisu/__init__.py rename to tests/dictionaries/50redefine_description/tiramisu/__init__.py diff --git a/tests/flattener_dicos/50redefine_description/tiramisu/base.py b/tests/dictionaries/50redefine_description/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/50redefine_description/tiramisu/base.py rename to tests/dictionaries/50redefine_description/tiramisu/base.py index b9cc21cb..7a63133f 100644 --- a/tests/flattener_dicos/50redefine_description/tiramisu/base.py +++ b/tests/dictionaries/50redefine_description/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='Redefined', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/51exists_nonexists/00-base.xml b/tests/dictionaries/51exists_nonexists/00-base.xml similarity index 100% rename from tests/flattener_dicos/51exists_nonexists/00-base.xml rename to tests/dictionaries/51exists_nonexists/00-base.xml diff --git a/tests/flattener_dicos/51exists_nonexists/01-base.xml b/tests/dictionaries/51exists_nonexists/01-base.xml similarity index 100% rename from tests/flattener_dicos/51exists_nonexists/01-base.xml rename to tests/dictionaries/51exists_nonexists/01-base.xml diff --git a/tests/flattener_dicos/51exists_nonexists/__init__.py b/tests/dictionaries/51exists_nonexists/__init__.py similarity index 100% rename from tests/flattener_dicos/51exists_nonexists/__init__.py rename to tests/dictionaries/51exists_nonexists/__init__.py diff --git a/tests/flattener_dicos/51exists_nonexists/makedict/base.json b/tests/dictionaries/51exists_nonexists/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51exists_nonexists/makedict/base.json rename to tests/dictionaries/51exists_nonexists/makedict/base.json diff --git a/tests/flattener_dicos/51exists_nonexists/tiramisu/__init__.py b/tests/dictionaries/51exists_nonexists/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51exists_nonexists/tiramisu/__init__.py rename to tests/dictionaries/51exists_nonexists/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51exists_nonexists/tiramisu/base.py b/tests/dictionaries/51exists_nonexists/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/51exists_nonexists/tiramisu/base.py rename to tests/dictionaries/51exists_nonexists/tiramisu/base.py index eced71db..cd622630 100644 --- a/tests/flattener_dicos/51exists_nonexists/tiramisu/base.py +++ b/tests/dictionaries/51exists_nonexists/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='Description', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='Description', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='New description', multi=False, default='oui', values=('oui', 'non')) diff --git a/tests/flattener_dicos/51redefine_auto/00-base.xml b/tests/dictionaries/51redefine_auto/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_auto/00-base.xml rename to tests/dictionaries/51redefine_auto/00-base.xml diff --git a/tests/flattener_dicos/51redefine_auto/01-base.xml b/tests/dictionaries/51redefine_auto/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_auto/01-base.xml rename to tests/dictionaries/51redefine_auto/01-base.xml diff --git a/tests/flattener_dicos/51redefine_auto/__init__.py b/tests/dictionaries/51redefine_auto/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_auto/__init__.py rename to tests/dictionaries/51redefine_auto/__init__.py diff --git a/tests/flattener_dicos/51redefine_auto/makedict/base.json b/tests/dictionaries/51redefine_auto/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_auto/makedict/base.json rename to tests/dictionaries/51redefine_auto/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_auto/tiramisu/__init__.py b/tests/dictionaries/51redefine_auto/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_auto/tiramisu/__init__.py rename to tests/dictionaries/51redefine_auto/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_auto/tiramisu/base.py b/tests/dictionaries/51redefine_auto/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/51redefine_auto/tiramisu/base.py rename to tests/dictionaries/51redefine_auto/tiramisu/base.py index 0a988a6d..f494a889 100644 --- a/tests/flattener_dicos/51redefine_auto/tiramisu/base.py +++ b/tests/dictionaries/51redefine_auto/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue("non")})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/51redefine_autofill/00-base.xml b/tests/dictionaries/51redefine_autofill/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_autofill/00-base.xml rename to tests/dictionaries/51redefine_autofill/00-base.xml diff --git a/tests/flattener_dicos/51redefine_autofill/01-base.xml b/tests/dictionaries/51redefine_autofill/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_autofill/01-base.xml rename to tests/dictionaries/51redefine_autofill/01-base.xml diff --git a/tests/flattener_dicos/51redefine_autofill/__init__.py b/tests/dictionaries/51redefine_autofill/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_autofill/__init__.py rename to tests/dictionaries/51redefine_autofill/__init__.py diff --git a/tests/flattener_dicos/51redefine_autofill/makedict/base.json b/tests/dictionaries/51redefine_autofill/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_autofill/makedict/base.json rename to tests/dictionaries/51redefine_autofill/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_autofill/tiramisu/__init__.py b/tests/dictionaries/51redefine_autofill/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_autofill/tiramisu/__init__.py rename to tests/dictionaries/51redefine_autofill/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_autofill/tiramisu/base.py b/tests/dictionaries/51redefine_autofill/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/51redefine_autofill/tiramisu/base.py rename to tests/dictionaries/51redefine_autofill/tiramisu/base.py index 097be814..62a034bf 100644 --- a/tests/flattener_dicos/51redefine_autofill/tiramisu/base.py +++ b/tests/dictionaries/51redefine_autofill/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue("non")})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/51redefine_family/00-base.xml b/tests/dictionaries/51redefine_family/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_family/00-base.xml rename to tests/dictionaries/51redefine_family/00-base.xml diff --git a/tests/flattener_dicos/51redefine_family/01-base.xml b/tests/dictionaries/51redefine_family/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_family/01-base.xml rename to tests/dictionaries/51redefine_family/01-base.xml diff --git a/tests/flattener_dicos/51redefine_family/__init__.py b/tests/dictionaries/51redefine_family/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_family/__init__.py rename to tests/dictionaries/51redefine_family/__init__.py diff --git a/tests/flattener_dicos/51redefine_family/makedict/base.json b/tests/dictionaries/51redefine_family/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_family/makedict/base.json rename to tests/dictionaries/51redefine_family/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_family/tiramisu/__init__.py b/tests/dictionaries/51redefine_family/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_family/tiramisu/__init__.py rename to tests/dictionaries/51redefine_family/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_family/tiramisu/base.py b/tests/dictionaries/51redefine_family/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/51redefine_family/tiramisu/base.py rename to tests/dictionaries/51redefine_family/tiramisu/base.py index 0b4bc4b8..7378d584 100644 --- a/tests/flattener_dicos/51redefine_family/tiramisu/base.py +++ b/tests/dictionaries/51redefine_family/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/51redefine_fill/00-base.xml b/tests/dictionaries/51redefine_fill/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_fill/00-base.xml rename to tests/dictionaries/51redefine_fill/00-base.xml diff --git a/tests/flattener_dicos/51redefine_fill/01-base.xml b/tests/dictionaries/51redefine_fill/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_fill/01-base.xml rename to tests/dictionaries/51redefine_fill/01-base.xml diff --git a/tests/flattener_dicos/51redefine_fill/__init__.py b/tests/dictionaries/51redefine_fill/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_fill/__init__.py rename to tests/dictionaries/51redefine_fill/__init__.py diff --git a/tests/flattener_dicos/51redefine_fill/makedict/base.json b/tests/dictionaries/51redefine_fill/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_fill/makedict/base.json rename to tests/dictionaries/51redefine_fill/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_fill/tiramisu/__init__.py b/tests/dictionaries/51redefine_fill/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_fill/tiramisu/__init__.py rename to tests/dictionaries/51redefine_fill/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_fill/tiramisu/base.py b/tests/dictionaries/51redefine_fill/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/51redefine_fill/tiramisu/base.py rename to tests/dictionaries/51redefine_fill/tiramisu/base.py index 0a988a6d..f494a889 100644 --- a/tests/flattener_dicos/51redefine_fill/tiramisu/base.py +++ b/tests/dictionaries/51redefine_fill/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue("non")})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/51redefine_fillauto/00-base.xml b/tests/dictionaries/51redefine_fillauto/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_fillauto/00-base.xml rename to tests/dictionaries/51redefine_fillauto/00-base.xml diff --git a/tests/flattener_dicos/51redefine_fillauto/01-base.xml b/tests/dictionaries/51redefine_fillauto/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_fillauto/01-base.xml rename to tests/dictionaries/51redefine_fillauto/01-base.xml diff --git a/tests/flattener_dicos/51redefine_fillauto/__init__.py b/tests/dictionaries/51redefine_fillauto/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_fillauto/__init__.py rename to tests/dictionaries/51redefine_fillauto/__init__.py diff --git a/tests/flattener_dicos/51redefine_fillauto/makedict/base.json b/tests/dictionaries/51redefine_fillauto/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_fillauto/makedict/base.json rename to tests/dictionaries/51redefine_fillauto/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_fillauto/tiramisu/__init__.py b/tests/dictionaries/51redefine_fillauto/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_fillauto/tiramisu/__init__.py rename to tests/dictionaries/51redefine_fillauto/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_fillauto/tiramisu/base.py b/tests/dictionaries/51redefine_fillauto/tiramisu/base.py similarity index 89% rename from tests/flattener_dicos/51redefine_fillauto/tiramisu/base.py rename to tests/dictionaries/51redefine_fillauto/tiramisu/base.py index 0a988a6d..f494a889 100644 --- a/tests/flattener_dicos/51redefine_fillauto/tiramisu/base.py +++ b/tests/dictionaries/51redefine_fillauto/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default=Calculation(func.concat, Params((), kwargs={'valeur': ParamValue("non")})), values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/51redefine_help/00-base.xml b/tests/dictionaries/51redefine_help/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_help/00-base.xml rename to tests/dictionaries/51redefine_help/00-base.xml diff --git a/tests/flattener_dicos/51redefine_help/01-base.xml b/tests/dictionaries/51redefine_help/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_help/01-base.xml rename to tests/dictionaries/51redefine_help/01-base.xml diff --git a/tests/flattener_dicos/51redefine_help/__init__.py b/tests/dictionaries/51redefine_help/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_help/__init__.py rename to tests/dictionaries/51redefine_help/__init__.py diff --git a/tests/flattener_dicos/51redefine_help/makedict/base.json b/tests/dictionaries/51redefine_help/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_help/makedict/base.json rename to tests/dictionaries/51redefine_help/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_help/tiramisu/__init__.py b/tests/dictionaries/51redefine_help/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_help/tiramisu/__init__.py rename to tests/dictionaries/51redefine_help/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_help/tiramisu/base.py b/tests/dictionaries/51redefine_help/tiramisu/base.py similarity index 90% rename from tests/flattener_dicos/51redefine_help/tiramisu/base.py rename to tests/dictionaries/51redefine_help/tiramisu/base.py index 47cee715..ad08864c 100644 --- a/tests/flattener_dicos/51redefine_help/tiramisu/base.py +++ b/tests/dictionaries/51redefine_help/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='redefine help', multi=False, default='non', values=('oui', 'non')) option_3.impl_set_information("help", "redefine help ok") option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) diff --git a/tests/flattener_dicos/51redefine_hidden/00-base.xml b/tests/dictionaries/51redefine_hidden/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_hidden/00-base.xml rename to tests/dictionaries/51redefine_hidden/00-base.xml diff --git a/tests/flattener_dicos/51redefine_hidden/01-redefine.xml b/tests/dictionaries/51redefine_hidden/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/51redefine_hidden/01-redefine.xml rename to tests/dictionaries/51redefine_hidden/01-redefine.xml diff --git a/tests/flattener_dicos/51redefine_hidden/__init__.py b/tests/dictionaries/51redefine_hidden/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_hidden/__init__.py rename to tests/dictionaries/51redefine_hidden/__init__.py diff --git a/tests/flattener_dicos/51redefine_hidden/makedict/base.json b/tests/dictionaries/51redefine_hidden/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_hidden/makedict/base.json rename to tests/dictionaries/51redefine_hidden/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_hidden/tiramisu/__init__.py b/tests/dictionaries/51redefine_hidden/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_hidden/tiramisu/__init__.py rename to tests/dictionaries/51redefine_hidden/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_hidden/tiramisu/base.py b/tests/dictionaries/51redefine_hidden/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/51redefine_hidden/tiramisu/base.py rename to tests/dictionaries/51redefine_hidden/tiramisu/base.py index eb6af18f..c14b3665 100644 --- a/tests/flattener_dicos/51redefine_hidden/tiramisu/base.py +++ b/tests/dictionaries/51redefine_hidden/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='Redefine hidden', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/51redefine_multi/00-base.xml b/tests/dictionaries/51redefine_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_multi/00-base.xml rename to tests/dictionaries/51redefine_multi/00-base.xml diff --git a/tests/flattener_dicos/51redefine_multi/01-redefine.xml b/tests/dictionaries/51redefine_multi/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/51redefine_multi/01-redefine.xml rename to tests/dictionaries/51redefine_multi/01-redefine.xml diff --git a/tests/flattener_dicos/51redefine_multi/__init__.py b/tests/dictionaries/51redefine_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_multi/__init__.py rename to tests/dictionaries/51redefine_multi/__init__.py diff --git a/tests/flattener_dicos/51redefine_remove_check/00-base.xml b/tests/dictionaries/51redefine_remove_check/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_remove_check/00-base.xml rename to tests/dictionaries/51redefine_remove_check/00-base.xml diff --git a/tests/flattener_dicos/51redefine_remove_check/01-base.xml b/tests/dictionaries/51redefine_remove_check/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_remove_check/01-base.xml rename to tests/dictionaries/51redefine_remove_check/01-base.xml diff --git a/tests/flattener_dicos/51redefine_remove_check/__init__.py b/tests/dictionaries/51redefine_remove_check/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_remove_check/__init__.py rename to tests/dictionaries/51redefine_remove_check/__init__.py diff --git a/tests/flattener_dicos/51redefine_remove_check/makedict/base.json b/tests/dictionaries/51redefine_remove_check/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_remove_check/makedict/base.json rename to tests/dictionaries/51redefine_remove_check/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_remove_check/tiramisu/__init__.py b/tests/dictionaries/51redefine_remove_check/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_remove_check/tiramisu/__init__.py rename to tests/dictionaries/51redefine_remove_check/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_remove_check/tiramisu/base.py b/tests/dictionaries/51redefine_remove_check/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/51redefine_remove_check/tiramisu/base.py rename to tests/dictionaries/51redefine_remove_check/tiramisu/base.py index 994a4a43..c1e19b59 100644 --- a/tests/flattener_dicos/51redefine_remove_check/tiramisu/base.py +++ b/tests/dictionaries/51redefine_remove_check/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = StrOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non') option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/51redefine_remove_condition/00-base.xml b/tests/dictionaries/51redefine_remove_condition/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_remove_condition/00-base.xml rename to tests/dictionaries/51redefine_remove_condition/00-base.xml diff --git a/tests/flattener_dicos/51redefine_remove_condition/01-base.xml b/tests/dictionaries/51redefine_remove_condition/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_remove_condition/01-base.xml rename to tests/dictionaries/51redefine_remove_condition/01-base.xml diff --git a/tests/flattener_dicos/51redefine_remove_condition/__init__.py b/tests/dictionaries/51redefine_remove_condition/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_remove_condition/__init__.py rename to tests/dictionaries/51redefine_remove_condition/__init__.py diff --git a/tests/flattener_dicos/51redefine_remove_condition/makedict/base.json b/tests/dictionaries/51redefine_remove_condition/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_remove_condition/makedict/base.json rename to tests/dictionaries/51redefine_remove_condition/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_remove_condition/tiramisu/__init__.py b/tests/dictionaries/51redefine_remove_condition/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_remove_condition/tiramisu/__init__.py rename to tests/dictionaries/51redefine_remove_condition/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_remove_condition/tiramisu/base.py b/tests/dictionaries/51redefine_remove_condition/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/51redefine_remove_condition/tiramisu/base.py rename to tests/dictionaries/51redefine_remove_condition/tiramisu/base.py index 900e1896..669a75f0 100644 --- a/tests/flattener_dicos/51redefine_remove_condition/tiramisu/base.py +++ b/tests/dictionaries/51redefine_remove_condition/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/51redefine_removecondition_alltarget/00-base.xml b/tests/dictionaries/51redefine_removecondition_alltarget/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_alltarget/00-base.xml rename to tests/dictionaries/51redefine_removecondition_alltarget/00-base.xml diff --git a/tests/flattener_dicos/51redefine_removecondition_alltarget/01-base.xml b/tests/dictionaries/51redefine_removecondition_alltarget/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_alltarget/01-base.xml rename to tests/dictionaries/51redefine_removecondition_alltarget/01-base.xml diff --git a/tests/flattener_dicos/51redefine_removecondition_alltarget/__init__.py b/tests/dictionaries/51redefine_removecondition_alltarget/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_alltarget/__init__.py rename to tests/dictionaries/51redefine_removecondition_alltarget/__init__.py diff --git a/tests/flattener_dicos/51redefine_removecondition_alltarget/makedict/base.json b/tests/dictionaries/51redefine_removecondition_alltarget/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_alltarget/makedict/base.json rename to tests/dictionaries/51redefine_removecondition_alltarget/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_removecondition_alltarget/tiramisu/__init__.py b/tests/dictionaries/51redefine_removecondition_alltarget/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_alltarget/tiramisu/__init__.py rename to tests/dictionaries/51redefine_removecondition_alltarget/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_removecondition_alltarget/tiramisu/base.py b/tests/dictionaries/51redefine_removecondition_alltarget/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/51redefine_removecondition_alltarget/tiramisu/base.py rename to tests/dictionaries/51redefine_removecondition_alltarget/tiramisu/base.py index 8fe884ed..88f66fec 100644 --- a/tests/flattener_dicos/51redefine_removecondition_alltarget/tiramisu/base.py +++ b/tests/dictionaries/51redefine_removecondition_alltarget/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/51redefine_removecondition_nonautofreeze/00-base.xml b/tests/dictionaries/51redefine_removecondition_nonautofreeze/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_nonautofreeze/00-base.xml rename to tests/dictionaries/51redefine_removecondition_nonautofreeze/00-base.xml diff --git a/tests/flattener_dicos/51redefine_removecondition_nonautofreeze/01-base.xml b/tests/dictionaries/51redefine_removecondition_nonautofreeze/01-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_nonautofreeze/01-base.xml rename to tests/dictionaries/51redefine_removecondition_nonautofreeze/01-base.xml diff --git a/tests/flattener_dicos/51redefine_removecondition_nonautofreeze/__init__.py b/tests/dictionaries/51redefine_removecondition_nonautofreeze/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_nonautofreeze/__init__.py rename to tests/dictionaries/51redefine_removecondition_nonautofreeze/__init__.py diff --git a/tests/flattener_dicos/51redefine_removecondition_nonautofreeze/makedict/base.json b/tests/dictionaries/51redefine_removecondition_nonautofreeze/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_nonautofreeze/makedict/base.json rename to tests/dictionaries/51redefine_removecondition_nonautofreeze/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_removecondition_nonautofreeze/tiramisu/__init__.py b/tests/dictionaries/51redefine_removecondition_nonautofreeze/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_removecondition_nonautofreeze/tiramisu/__init__.py rename to tests/dictionaries/51redefine_removecondition_nonautofreeze/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_removecondition_nonautofreeze/tiramisu/base.py b/tests/dictionaries/51redefine_removecondition_nonautofreeze/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/51redefine_removecondition_nonautofreeze/tiramisu/base.py rename to tests/dictionaries/51redefine_removecondition_nonautofreeze/tiramisu/base.py index 159df35d..b346290c 100644 --- a/tests/flattener_dicos/51redefine_removecondition_nonautofreeze/tiramisu/base.py +++ b/tests/dictionaries/51redefine_removecondition_nonautofreeze/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_7 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='module_instancie', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'auto_freeze', 'basic', 'force_store_value', 'mandatory', Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_7, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/51redefine_type/00-base.xml b/tests/dictionaries/51redefine_type/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_type/00-base.xml rename to tests/dictionaries/51redefine_type/00-base.xml diff --git a/tests/flattener_dicos/51redefine_type/01-redefine.xml b/tests/dictionaries/51redefine_type/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/51redefine_type/01-redefine.xml rename to tests/dictionaries/51redefine_type/01-redefine.xml diff --git a/tests/flattener_dicos/51redefine_type/__init__.py b/tests/dictionaries/51redefine_type/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_type/__init__.py rename to tests/dictionaries/51redefine_type/__init__.py diff --git a/tests/flattener_dicos/51redefine_validenum/00-base.xml b/tests/dictionaries/51redefine_validenum/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_validenum/00-base.xml rename to tests/dictionaries/51redefine_validenum/00-base.xml diff --git a/tests/flattener_dicos/51redefine_validenum/01-redefine.xml b/tests/dictionaries/51redefine_validenum/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/51redefine_validenum/01-redefine.xml rename to tests/dictionaries/51redefine_validenum/01-redefine.xml diff --git a/tests/flattener_dicos/51redefine_validenum/__init__.py b/tests/dictionaries/51redefine_validenum/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_validenum/__init__.py rename to tests/dictionaries/51redefine_validenum/__init__.py diff --git a/tests/flattener_dicos/51redefine_validenum/makedict/base.json b/tests/dictionaries/51redefine_validenum/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_validenum/makedict/base.json rename to tests/dictionaries/51redefine_validenum/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_validenum/tiramisu/__init__.py b/tests/dictionaries/51redefine_validenum/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_validenum/tiramisu/__init__.py rename to tests/dictionaries/51redefine_validenum/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_validenum/tiramisu/base.py b/tests/dictionaries/51redefine_validenum/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/51redefine_validenum/tiramisu/base.py rename to tests/dictionaries/51redefine_validenum/tiramisu/base.py index a377f174..7d76b030 100644 --- a/tests/flattener_dicos/51redefine_validenum/tiramisu/base.py +++ b/tests/dictionaries/51redefine_validenum/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='Redefine description', multi=False, default='a', values=('a', 'b')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/51redefine_value/00-base.xml b/tests/dictionaries/51redefine_value/00-base.xml similarity index 100% rename from tests/flattener_dicos/51redefine_value/00-base.xml rename to tests/dictionaries/51redefine_value/00-base.xml diff --git a/tests/flattener_dicos/51redefine_value/01-redefine.xml b/tests/dictionaries/51redefine_value/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/51redefine_value/01-redefine.xml rename to tests/dictionaries/51redefine_value/01-redefine.xml diff --git a/tests/flattener_dicos/51redefine_value/__init__.py b/tests/dictionaries/51redefine_value/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_value/__init__.py rename to tests/dictionaries/51redefine_value/__init__.py diff --git a/tests/flattener_dicos/51redefine_value/makedict/base.json b/tests/dictionaries/51redefine_value/makedict/base.json similarity index 100% rename from tests/flattener_dicos/51redefine_value/makedict/base.json rename to tests/dictionaries/51redefine_value/makedict/base.json diff --git a/tests/flattener_dicos/51redefine_value/tiramisu/__init__.py b/tests/dictionaries/51redefine_value/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/51redefine_value/tiramisu/__init__.py rename to tests/dictionaries/51redefine_value/tiramisu/__init__.py diff --git a/tests/flattener_dicos/51redefine_value/tiramisu/base.py b/tests/dictionaries/51redefine_value/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/51redefine_value/tiramisu/base.py rename to tests/dictionaries/51redefine_value/tiramisu/base.py index cb602612..d80106c8 100644 --- a/tests/flattener_dicos/51redefine_value/tiramisu/base.py +++ b/tests/dictionaries/51redefine_value/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='Redefine value', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif1', doc='Redefine value', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/52exists_redefine/00-base.xml b/tests/dictionaries/52exists_redefine/00-base.xml similarity index 100% rename from tests/flattener_dicos/52exists_redefine/00-base.xml rename to tests/dictionaries/52exists_redefine/00-base.xml diff --git a/tests/flattener_dicos/52exists_redefine/01-base.xml b/tests/dictionaries/52exists_redefine/01-base.xml similarity index 100% rename from tests/flattener_dicos/52exists_redefine/01-base.xml rename to tests/dictionaries/52exists_redefine/01-base.xml diff --git a/tests/flattener_dicos/52exists_redefine/__init__.py b/tests/dictionaries/52exists_redefine/__init__.py similarity index 100% rename from tests/flattener_dicos/52exists_redefine/__init__.py rename to tests/dictionaries/52exists_redefine/__init__.py diff --git a/tests/flattener_dicos/52exists_redefine/makedict/base.json b/tests/dictionaries/52exists_redefine/makedict/base.json similarity index 100% rename from tests/flattener_dicos/52exists_redefine/makedict/base.json rename to tests/dictionaries/52exists_redefine/makedict/base.json diff --git a/tests/flattener_dicos/52exists_redefine/tiramisu/__init__.py b/tests/dictionaries/52exists_redefine/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/52exists_redefine/tiramisu/__init__.py rename to tests/dictionaries/52exists_redefine/tiramisu/__init__.py diff --git a/tests/flattener_dicos/52exists_redefine/tiramisu/base.py b/tests/dictionaries/52exists_redefine/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/52exists_redefine/tiramisu/base.py rename to tests/dictionaries/52exists_redefine/tiramisu/base.py index 1e6be002..4ed67844 100644 --- a/tests/flattener_dicos/52exists_redefine/tiramisu/base.py +++ b/tests/dictionaries/52exists_redefine/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='New description', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/60action_external/00-base.xml b/tests/dictionaries/60action_external/00-base.xml similarity index 100% rename from tests/flattener_dicos/60action_external/00-base.xml rename to tests/dictionaries/60action_external/00-base.xml diff --git a/tests/flattener_dicos/60action_external/__init__.py b/tests/dictionaries/60action_external/__init__.py similarity index 100% rename from tests/flattener_dicos/60action_external/__init__.py rename to tests/dictionaries/60action_external/__init__.py diff --git a/tests/flattener_dicos/60action_external/extra_dirs/extra/00-base.xml b/tests/dictionaries/60action_external/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60action_external/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60action_external/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60action_external/makedict/base.json b/tests/dictionaries/60action_external/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60action_external/makedict/base.json rename to tests/dictionaries/60action_external/makedict/base.json diff --git a/tests/flattener_dicos/60action_external/tiramisu/__init__.py b/tests/dictionaries/60action_external/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60action_external/tiramisu/__init__.py rename to tests/dictionaries/60action_external/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60action_external/tiramisu/base.py b/tests/dictionaries/60action_external/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/60action_external/tiramisu/base.py rename to tests/dictionaries/60action_external/tiramisu/base.py index bd799ffc..df2b7630 100644 --- a/tests/flattener_dicos/60action_external/tiramisu/base.py +++ b/tests/dictionaries/60action_external/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/60extra_externalspace/00-base.xml b/tests/dictionaries/60extra_externalspace/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspace/00-base.xml rename to tests/dictionaries/60extra_externalspace/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspace/__init__.py b/tests/dictionaries/60extra_externalspace/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_externalspace/__init__.py rename to tests/dictionaries/60extra_externalspace/__init__.py diff --git a/tests/flattener_dicos/60extra_externalspace/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_externalspace/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspace/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_externalspace/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspace/extra_dirs/extra1/00-base.xml b/tests/dictionaries/60extra_externalspace/extra_dirs/extra1/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspace/extra_dirs/extra1/00-base.xml rename to tests/dictionaries/60extra_externalspace/extra_dirs/extra1/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspaceauto/00-base.xml b/tests/dictionaries/60extra_externalspaceauto/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspaceauto/00-base.xml rename to tests/dictionaries/60extra_externalspaceauto/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspaceauto/__init__.py b/tests/dictionaries/60extra_externalspaceauto/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_externalspaceauto/__init__.py rename to tests/dictionaries/60extra_externalspaceauto/__init__.py diff --git a/tests/flattener_dicos/60extra_externalspaceauto/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_externalspaceauto/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspaceauto/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_externalspaceauto/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspaceauto/extra_dirs/extra1/00-base.xml b/tests/dictionaries/60extra_externalspaceauto/extra_dirs/extra1/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspaceauto/extra_dirs/extra1/00-base.xml rename to tests/dictionaries/60extra_externalspaceauto/extra_dirs/extra1/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspacecondition/00-base.xml b/tests/dictionaries/60extra_externalspacecondition/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition/00-base.xml rename to tests/dictionaries/60extra_externalspacecondition/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspacecondition/__init__.py b/tests/dictionaries/60extra_externalspacecondition/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition/__init__.py rename to tests/dictionaries/60extra_externalspacecondition/__init__.py diff --git a/tests/flattener_dicos/60extra_externalspacecondition/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_externalspacecondition/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_externalspacecondition/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspacecondition/extra_dirs/extra1/00-base.xml b/tests/dictionaries/60extra_externalspacecondition/extra_dirs/extra1/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition/extra_dirs/extra1/00-base.xml rename to tests/dictionaries/60extra_externalspacecondition/extra_dirs/extra1/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspacecondition/makedict/base.json b/tests/dictionaries/60extra_externalspacecondition/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition/makedict/base.json rename to tests/dictionaries/60extra_externalspacecondition/makedict/base.json diff --git a/tests/flattener_dicos/60extra_externalspacecondition/tiramisu/__init__.py b/tests/dictionaries/60extra_externalspacecondition/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition/tiramisu/__init__.py rename to tests/dictionaries/60extra_externalspacecondition/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60extra_externalspacecondition/tiramisu/base.py b/tests/dictionaries/60extra_externalspacecondition/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/60extra_externalspacecondition/tiramisu/base.py rename to tests/dictionaries/60extra_externalspacecondition/tiramisu/base.py index b7440531..2b6ba8d0 100644 --- a/tests/flattener_dicos/60extra_externalspacecondition/tiramisu/base.py +++ b/tests/dictionaries/60extra_externalspacecondition/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_5 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='module_instancie', doc='No change', multi=False, default='non', values=('oui', 'non')) option_3 = ChoiceOption(properties=frozenset({'auto_freeze', 'basic', 'force_store_value', 'mandatory', Calculation(calc_value, Params(ParamValue('auto_frozen'), kwargs={'condition': ParamOption(option_5, todict=True), 'expected': ParamValue('oui'), 'reverse_condition': ParamValue(True)}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='activer_ejabberd', doc='No change', multi=False, default='non', values=('oui', 'non')) diff --git a/tests/flattener_dicos/60extra_externalspacecondition2/00-base.xml b/tests/dictionaries/60extra_externalspacecondition2/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition2/00-base.xml rename to tests/dictionaries/60extra_externalspacecondition2/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspacecondition2/__init__.py b/tests/dictionaries/60extra_externalspacecondition2/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition2/__init__.py rename to tests/dictionaries/60extra_externalspacecondition2/__init__.py diff --git a/tests/flattener_dicos/60extra_externalspacecondition2/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_externalspacecondition2/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition2/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_externalspacecondition2/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspacecondition2/extra_dirs/extra1/00-base.xml b/tests/dictionaries/60extra_externalspacecondition2/extra_dirs/extra1/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition2/extra_dirs/extra1/00-base.xml rename to tests/dictionaries/60extra_externalspacecondition2/extra_dirs/extra1/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspacecondition3/00-base.xml b/tests/dictionaries/60extra_externalspacecondition3/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition3/00-base.xml rename to tests/dictionaries/60extra_externalspacecondition3/00-base.xml diff --git a/tests/flattener_dicos/60extra_externalspacecondition3/__init__.py b/tests/dictionaries/60extra_externalspacecondition3/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition3/__init__.py rename to tests/dictionaries/60extra_externalspacecondition3/__init__.py diff --git a/tests/flattener_dicos/60extra_externalspacecondition3/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_externalspacecondition3/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_externalspacecondition3/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_externalspacecondition3/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_group/00-base.xml b/tests/dictionaries/60extra_group/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_group/00-base.xml rename to tests/dictionaries/60extra_group/00-base.xml diff --git a/tests/flattener_dicos/60extra_group/__init__.py b/tests/dictionaries/60extra_group/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_group/__init__.py rename to tests/dictionaries/60extra_group/__init__.py diff --git a/tests/flattener_dicos/60extra_group/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_group/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_group/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_group/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_group/makedict/base.json b/tests/dictionaries/60extra_group/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60extra_group/makedict/base.json rename to tests/dictionaries/60extra_group/makedict/base.json diff --git a/tests/templates/60extra_group/result/etc/mailname b/tests/dictionaries/60extra_group/result/etc/mailname similarity index 100% rename from tests/templates/60extra_group/result/etc/mailname rename to tests/dictionaries/60extra_group/result/etc/mailname diff --git a/tests/flattener_dicos/60extra_group/tiramisu/__init__.py b/tests/dictionaries/60extra_group/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_group/tiramisu/__init__.py rename to tests/dictionaries/60extra_group/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60extra_group/tiramisu/base.py b/tests/dictionaries/60extra_group/tiramisu/base.py similarity index 97% rename from tests/flattener_dicos/60extra_group/tiramisu/base.py rename to tests/dictionaries/60extra_group/tiramisu/base.py index d25b3e62..12947142 100644 --- a/tests/flattener_dicos/60extra_group/tiramisu/base.py +++ b/tests/dictionaries/60extra_group/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='activer_ejabberd', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/templates/60extra_group/tmpl/mailname b/tests/dictionaries/60extra_group/tmpl/mailname similarity index 100% rename from tests/templates/60extra_group/tmpl/mailname rename to tests/dictionaries/60extra_group/tmpl/mailname diff --git a/tests/flattener_dicos/60extra_help/00-base.xml b/tests/dictionaries/60extra_help/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_help/00-base.xml rename to tests/dictionaries/60extra_help/00-base.xml diff --git a/tests/flattener_dicos/60extra_help/__init__.py b/tests/dictionaries/60extra_help/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_help/__init__.py rename to tests/dictionaries/60extra_help/__init__.py diff --git a/tests/flattener_dicos/60extra_help/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_help/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_help/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_help/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_help/makedict/base.json b/tests/dictionaries/60extra_help/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60extra_help/makedict/base.json rename to tests/dictionaries/60extra_help/makedict/base.json diff --git a/tests/flattener_dicos/60extra_help/tiramisu/__init__.py b/tests/dictionaries/60extra_help/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_help/tiramisu/__init__.py rename to tests/dictionaries/60extra_help/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60extra_help/tiramisu/base.py b/tests/dictionaries/60extra_help/tiramisu/base.py similarity index 97% rename from tests/flattener_dicos/60extra_help/tiramisu/base.py rename to tests/dictionaries/60extra_help/tiramisu/base.py index 0e0d6bcb..e8f360e4 100644 --- a/tests/flattener_dicos/60extra_help/tiramisu/base.py +++ b/tests/dictionaries/60extra_help/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='activer_ejabberd', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/60extra_load/00-base.xml b/tests/dictionaries/60extra_load/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_load/00-base.xml rename to tests/dictionaries/60extra_load/00-base.xml diff --git a/tests/flattener_dicos/60extra_load/__init__.py b/tests/dictionaries/60extra_load/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_load/__init__.py rename to tests/dictionaries/60extra_load/__init__.py diff --git a/tests/flattener_dicos/60extra_load/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_load/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_load/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_load/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_load/makedict/base.json b/tests/dictionaries/60extra_load/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60extra_load/makedict/base.json rename to tests/dictionaries/60extra_load/makedict/base.json diff --git a/tests/flattener_dicos/60extra_load/tiramisu/__init__.py b/tests/dictionaries/60extra_load/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_load/tiramisu/__init__.py rename to tests/dictionaries/60extra_load/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60extra_load/tiramisu/base.py b/tests/dictionaries/60extra_load/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/60extra_load/tiramisu/base.py rename to tests/dictionaries/60extra_load/tiramisu/base.py index 19dfd32b..0f20874c 100644 --- a/tests/flattener_dicos/60extra_load/tiramisu/base.py +++ b/tests/dictionaries/60extra_load/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='activer_ejabberd', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/60extra_mandatory/00-base.xml b/tests/dictionaries/60extra_mandatory/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_mandatory/00-base.xml rename to tests/dictionaries/60extra_mandatory/00-base.xml diff --git a/tests/flattener_dicos/60extra_mandatory/__init__.py b/tests/dictionaries/60extra_mandatory/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_mandatory/__init__.py rename to tests/dictionaries/60extra_mandatory/__init__.py diff --git a/tests/flattener_dicos/60extra_mandatory/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_mandatory/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_mandatory/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_mandatory/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_mandatory/makedict/base.json b/tests/dictionaries/60extra_mandatory/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60extra_mandatory/makedict/base.json rename to tests/dictionaries/60extra_mandatory/makedict/base.json diff --git a/tests/flattener_dicos/60extra_mandatory/tiramisu/__init__.py b/tests/dictionaries/60extra_mandatory/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_mandatory/tiramisu/__init__.py rename to tests/dictionaries/60extra_mandatory/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60extra_mandatory/tiramisu/base.py b/tests/dictionaries/60extra_mandatory/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/60extra_mandatory/tiramisu/base.py rename to tests/dictionaries/60extra_mandatory/tiramisu/base.py index d1edad0b..ffc3f524 100644 --- a/tests/flattener_dicos/60extra_mandatory/tiramisu/base.py +++ b/tests/dictionaries/60extra_mandatory/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='activer_ejabberd', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/60extra_redefine/00-base.xml b/tests/dictionaries/60extra_redefine/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_redefine/00-base.xml rename to tests/dictionaries/60extra_redefine/00-base.xml diff --git a/tests/flattener_dicos/60extra_redefine/__init__.py b/tests/dictionaries/60extra_redefine/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_redefine/__init__.py rename to tests/dictionaries/60extra_redefine/__init__.py diff --git a/tests/flattener_dicos/60extra_redefine/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_redefine/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_redefine/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_redefine/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_redefine/extra_dirs/extra/01-redefine.xml b/tests/dictionaries/60extra_redefine/extra_dirs/extra/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/60extra_redefine/extra_dirs/extra/01-redefine.xml rename to tests/dictionaries/60extra_redefine/extra_dirs/extra/01-redefine.xml diff --git a/tests/flattener_dicos/60extra_redefine/makedict/base.json b/tests/dictionaries/60extra_redefine/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60extra_redefine/makedict/base.json rename to tests/dictionaries/60extra_redefine/makedict/base.json diff --git a/tests/flattener_dicos/60extra_redefine/tiramisu/__init__.py b/tests/dictionaries/60extra_redefine/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_redefine/tiramisu/__init__.py rename to tests/dictionaries/60extra_redefine/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60extra_redefine/tiramisu/base.py b/tests/dictionaries/60extra_redefine/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/60extra_redefine/tiramisu/base.py rename to tests/dictionaries/60extra_redefine/tiramisu/base.py index bce0858f..ad395ced 100644 --- a/tests/flattener_dicos/60extra_redefine/tiramisu/base.py +++ b/tests/dictionaries/60extra_redefine/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='activer_ejabberd', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/60extra_separators/00-base.xml b/tests/dictionaries/60extra_separators/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_separators/00-base.xml rename to tests/dictionaries/60extra_separators/00-base.xml diff --git a/tests/flattener_dicos/60extra_separators/__init__.py b/tests/dictionaries/60extra_separators/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_separators/__init__.py rename to tests/dictionaries/60extra_separators/__init__.py diff --git a/tests/flattener_dicos/60extra_separators/extra_dirs/extra/00-base.xml b/tests/dictionaries/60extra_separators/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60extra_separators/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60extra_separators/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60extra_separators/makedict/base.json b/tests/dictionaries/60extra_separators/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60extra_separators/makedict/base.json rename to tests/dictionaries/60extra_separators/makedict/base.json diff --git a/tests/flattener_dicos/60extra_separators/tiramisu/__init__.py b/tests/dictionaries/60extra_separators/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60extra_separators/tiramisu/__init__.py rename to tests/dictionaries/60extra_separators/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60extra_separators/tiramisu/base.py b/tests/dictionaries/60extra_separators/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/60extra_separators/tiramisu/base.py rename to tests/dictionaries/60extra_separators/tiramisu/base.py index 8408bdc1..6b7e4e09 100644 --- a/tests/flattener_dicos/60extra_separators/tiramisu/base.py +++ b/tests/dictionaries/60extra_separators/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='activer_ejabberd', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/60familyaction/00-base.xml b/tests/dictionaries/60familyaction/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction/00-base.xml rename to tests/dictionaries/60familyaction/00-base.xml diff --git a/tests/flattener_dicos/60familyaction/__init__.py b/tests/dictionaries/60familyaction/__init__.py similarity index 100% rename from tests/flattener_dicos/60familyaction/__init__.py rename to tests/dictionaries/60familyaction/__init__.py diff --git a/tests/flattener_dicos/60familyaction/extra_dirs/extra/00-base.xml b/tests/dictionaries/60familyaction/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60familyaction/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60familyaction/makedict/base.json b/tests/dictionaries/60familyaction/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60familyaction/makedict/base.json rename to tests/dictionaries/60familyaction/makedict/base.json diff --git a/tests/flattener_dicos/60familyaction/tiramisu/__init__.py b/tests/dictionaries/60familyaction/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60familyaction/tiramisu/__init__.py rename to tests/dictionaries/60familyaction/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60familyaction_accent/tiramisu/base.py b/tests/dictionaries/60familyaction/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/60familyaction_accent/tiramisu/base.py rename to tests/dictionaries/60familyaction/tiramisu/base.py index e789442c..f2d0e099 100644 --- a/tests/flattener_dicos/60familyaction_accent/tiramisu/base.py +++ b/tests/dictionaries/60familyaction/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/60familyaction_accent/00-base.xml b/tests/dictionaries/60familyaction_accent/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction_accent/00-base.xml rename to tests/dictionaries/60familyaction_accent/00-base.xml diff --git a/tests/flattener_dicos/60familyaction_accent/__init__.py b/tests/dictionaries/60familyaction_accent/__init__.py similarity index 100% rename from tests/flattener_dicos/60familyaction_accent/__init__.py rename to tests/dictionaries/60familyaction_accent/__init__.py diff --git a/tests/flattener_dicos/60familyaction_accent/extra_dirs/extra/00-base.xml b/tests/dictionaries/60familyaction_accent/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction_accent/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60familyaction_accent/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60familyaction_accent/makedict/base.json b/tests/dictionaries/60familyaction_accent/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60familyaction_accent/makedict/base.json rename to tests/dictionaries/60familyaction_accent/makedict/base.json diff --git a/tests/flattener_dicos/60familyaction_accent/tiramisu/__init__.py b/tests/dictionaries/60familyaction_accent/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60familyaction_accent/tiramisu/__init__.py rename to tests/dictionaries/60familyaction_accent/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60familyaction/tiramisu/base.py b/tests/dictionaries/60familyaction_accent/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/60familyaction/tiramisu/base.py rename to tests/dictionaries/60familyaction_accent/tiramisu/base.py index e789442c..f2d0e099 100644 --- a/tests/flattener_dicos/60familyaction/tiramisu/base.py +++ b/tests/dictionaries/60familyaction_accent/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/60familyaction_mandatory/00-base.xml b/tests/dictionaries/60familyaction_mandatory/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction_mandatory/00-base.xml rename to tests/dictionaries/60familyaction_mandatory/00-base.xml diff --git a/tests/flattener_dicos/60familyaction_mandatory/60familyaction/00-base.xml b/tests/dictionaries/60familyaction_mandatory/60familyaction/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction_mandatory/60familyaction/00-base.xml rename to tests/dictionaries/60familyaction_mandatory/60familyaction/00-base.xml diff --git a/tests/flattener_dicos/60familyaction_mandatory/60familyaction/extra_dirs/extra/00-base.xml b/tests/dictionaries/60familyaction_mandatory/60familyaction/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction_mandatory/60familyaction/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60familyaction_mandatory/60familyaction/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60familyaction_mandatory/60familyaction/result/00-base.xml b/tests/dictionaries/60familyaction_mandatory/60familyaction/result/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction_mandatory/60familyaction/result/00-base.xml rename to tests/dictionaries/60familyaction_mandatory/60familyaction/result/00-base.xml diff --git a/tests/flattener_dicos/60familyaction_mandatory/__init__.py b/tests/dictionaries/60familyaction_mandatory/__init__.py similarity index 100% rename from tests/flattener_dicos/60familyaction_mandatory/__init__.py rename to tests/dictionaries/60familyaction_mandatory/__init__.py diff --git a/tests/flattener_dicos/60familyaction_mandatory/extra_dirs/extra/00-base.xml b/tests/dictionaries/60familyaction_mandatory/extra_dirs/extra/00-base.xml similarity index 100% rename from tests/flattener_dicos/60familyaction_mandatory/extra_dirs/extra/00-base.xml rename to tests/dictionaries/60familyaction_mandatory/extra_dirs/extra/00-base.xml diff --git a/tests/flattener_dicos/60familyaction_mandatory/makedict/base.json b/tests/dictionaries/60familyaction_mandatory/makedict/base.json similarity index 100% rename from tests/flattener_dicos/60familyaction_mandatory/makedict/base.json rename to tests/dictionaries/60familyaction_mandatory/makedict/base.json diff --git a/tests/flattener_dicos/60familyaction_mandatory/tiramisu/__init__.py b/tests/dictionaries/60familyaction_mandatory/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/60familyaction_mandatory/tiramisu/__init__.py rename to tests/dictionaries/60familyaction_mandatory/tiramisu/__init__.py diff --git a/tests/flattener_dicos/60familyaction_mandatory/tiramisu/base.py b/tests/dictionaries/60familyaction_mandatory/tiramisu/base.py similarity index 93% rename from tests/flattener_dicos/60familyaction_mandatory/tiramisu/base.py rename to tests/dictionaries/60familyaction_mandatory/tiramisu/base.py index ba2f6254..d867defe 100644 --- a/tests/flattener_dicos/60familyaction_mandatory/tiramisu/base.py +++ b/tests/dictionaries/60familyaction_mandatory/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_files/00-base.xml b/tests/dictionaries/70container_files/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_files/00-base.xml rename to tests/dictionaries/70container_files/00-base.xml diff --git a/tests/flattener_dicos/70container_files/__init__.py b/tests/dictionaries/70container_files/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_files/__init__.py rename to tests/dictionaries/70container_files/__init__.py diff --git a/tests/flattener_dicos/70container_files/makedict/base.json b/tests/dictionaries/70container_files/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_files/makedict/base.json rename to tests/dictionaries/70container_files/makedict/base.json diff --git a/tests/templates/70container_files/result/etc/mailname b/tests/dictionaries/70container_files/result/etc/mailname similarity index 100% rename from tests/templates/70container_files/result/etc/mailname rename to tests/dictionaries/70container_files/result/etc/mailname diff --git a/tests/templates/70container_files/result/rougail.conf b/tests/dictionaries/70container_files/result/rougail.conf similarity index 100% rename from tests/templates/70container_files/result/rougail.conf rename to tests/dictionaries/70container_files/result/rougail.conf diff --git a/tests/flattener_dicos/70container_files/tiramisu/__init__.py b/tests/dictionaries/70container_files/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_files/tiramisu/__init__.py rename to tests/dictionaries/70container_files/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_files/tiramisu/base.py b/tests/dictionaries/70container_files/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/70container_files/tiramisu/base.py rename to tests/dictionaries/70container_files/tiramisu/base.py index fd979f08..046db94b 100644 --- a/tests/flattener_dicos/70container_files/tiramisu/base.py +++ b/tests/dictionaries/70container_files/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/templates/70container_files/tmpl/mailname b/tests/dictionaries/70container_files/tmpl/mailname similarity index 100% rename from tests/templates/70container_files/tmpl/mailname rename to tests/dictionaries/70container_files/tmpl/mailname diff --git a/tests/templates/70container_files/tmpl/rougail.conf b/tests/dictionaries/70container_files/tmpl/rougail.conf similarity index 100% rename from tests/templates/70container_files/tmpl/rougail.conf rename to tests/dictionaries/70container_files/tmpl/rougail.conf diff --git a/tests/flattener_dicos/70container_files_symlink_multi/00-base.xml b/tests/dictionaries/70container_files_symlink_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_files_symlink_multi/00-base.xml rename to tests/dictionaries/70container_files_symlink_multi/00-base.xml diff --git a/tests/flattener_dicos/70container_files_symlink_multi/__init__.py b/tests/dictionaries/70container_files_symlink_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_files_symlink_multi/__init__.py rename to tests/dictionaries/70container_files_symlink_multi/__init__.py diff --git a/tests/flattener_dicos/70container_files_symlink_multi/makedict/base.json b/tests/dictionaries/70container_files_symlink_multi/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_files_symlink_multi/makedict/base.json rename to tests/dictionaries/70container_files_symlink_multi/makedict/base.json diff --git a/tests/templates/70container_files_symlink_multi/result/etc/mailname b/tests/dictionaries/70container_files_symlink_multi/result/etc/mailname similarity index 100% rename from tests/templates/70container_files_symlink_multi/result/etc/mailname rename to tests/dictionaries/70container_files_symlink_multi/result/etc/mailname diff --git a/tests/templates/70container_files_symlink_multi/result/etc/mailname2 b/tests/dictionaries/70container_files_symlink_multi/result/etc/mailname2 similarity index 100% rename from tests/templates/70container_files_symlink_multi/result/etc/mailname2 rename to tests/dictionaries/70container_files_symlink_multi/result/etc/mailname2 diff --git a/tests/flattener_dicos/70container_files_symlink_multi/tiramisu/__init__.py b/tests/dictionaries/70container_files_symlink_multi/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_files_symlink_multi/tiramisu/__init__.py rename to tests/dictionaries/70container_files_symlink_multi/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_files_symlink_multi/tiramisu/base.py b/tests/dictionaries/70container_files_symlink_multi/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/70container_files_symlink_multi/tiramisu/base.py rename to tests/dictionaries/70container_files_symlink_multi/tiramisu/base.py index a691664d..fb65db16 100644 --- a/tests/flattener_dicos/70container_files_symlink_multi/tiramisu/base.py +++ b/tests/dictionaries/70container_files_symlink_multi/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_4 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='file_name', doc='file_name', multi=True, default=['/etc/mailname', '/etc/mailname2'], default_multi='/etc/mailname2') option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/templates/70container_files_symlink_multi/tmpl/mailname b/tests/dictionaries/70container_files_symlink_multi/tmpl/mailname similarity index 100% rename from tests/templates/70container_files_symlink_multi/tmpl/mailname rename to tests/dictionaries/70container_files_symlink_multi/tmpl/mailname diff --git a/tests/flattener_dicos/70container_files_symlink_multi_variable/00-base.xml b/tests/dictionaries/70container_files_symlink_multi_variable/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_files_symlink_multi_variable/00-base.xml rename to tests/dictionaries/70container_files_symlink_multi_variable/00-base.xml diff --git a/tests/flattener_dicos/70container_files_symlink_multi_variable/__init__.py b/tests/dictionaries/70container_files_symlink_multi_variable/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_files_symlink_multi_variable/__init__.py rename to tests/dictionaries/70container_files_symlink_multi_variable/__init__.py diff --git a/tests/flattener_dicos/70container_files_symlink_multi_variable/makedict/base.json b/tests/dictionaries/70container_files_symlink_multi_variable/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_files_symlink_multi_variable/makedict/base.json rename to tests/dictionaries/70container_files_symlink_multi_variable/makedict/base.json diff --git a/tests/templates/70container_files_symlink_multi_variable/result/etc/mailname b/tests/dictionaries/70container_files_symlink_multi_variable/result/etc/mailname similarity index 100% rename from tests/templates/70container_files_symlink_multi_variable/result/etc/mailname rename to tests/dictionaries/70container_files_symlink_multi_variable/result/etc/mailname diff --git a/tests/templates/70container_files_symlink_multi_variable/result/etc/mailname2 b/tests/dictionaries/70container_files_symlink_multi_variable/result/etc/mailname2 similarity index 100% rename from tests/templates/70container_files_symlink_multi_variable/result/etc/mailname2 rename to tests/dictionaries/70container_files_symlink_multi_variable/result/etc/mailname2 diff --git a/tests/flattener_dicos/70container_files_symlink_multi_variable/tiramisu/__init__.py b/tests/dictionaries/70container_files_symlink_multi_variable/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_files_symlink_multi_variable/tiramisu/__init__.py rename to tests/dictionaries/70container_files_symlink_multi_variable/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_files_symlink_multi_variable/tiramisu/base.py b/tests/dictionaries/70container_files_symlink_multi_variable/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/70container_files_symlink_multi_variable/tiramisu/base.py rename to tests/dictionaries/70container_files_symlink_multi_variable/tiramisu/base.py index 5e76710f..ff1923c3 100644 --- a/tests/flattener_dicos/70container_files_symlink_multi_variable/tiramisu/base.py +++ b/tests/dictionaries/70container_files_symlink_multi_variable/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_4 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='file_name', doc='file_name', multi=True, default=['/etc/mailname', '/etc/mailname2'], default_multi='/etc/mailname2') option_5 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='var', doc='var', multi=True, default=['mailname', 'mailname2'], default_multi='mailname2') diff --git a/tests/templates/70container_files_symlink_multi_variable/tmpl/mailname b/tests/dictionaries/70container_files_symlink_multi_variable/tmpl/mailname similarity index 100% rename from tests/templates/70container_files_symlink_multi_variable/tmpl/mailname rename to tests/dictionaries/70container_files_symlink_multi_variable/tmpl/mailname diff --git a/tests/flattener_dicos/70container_files_twice/00-base.xml b/tests/dictionaries/70container_files_twice/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_files_twice/00-base.xml rename to tests/dictionaries/70container_files_twice/00-base.xml diff --git a/tests/flattener_dicos/70container_files_twice/__init__.py b/tests/dictionaries/70container_files_twice/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_files_twice/__init__.py rename to tests/dictionaries/70container_files_twice/__init__.py diff --git a/tests/flattener_dicos/70container_files_twice/makedict/base.json b/tests/dictionaries/70container_files_twice/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_files_twice/makedict/base.json rename to tests/dictionaries/70container_files_twice/makedict/base.json diff --git a/tests/flattener_dicos/70container_files_twice/tiramisu/__init__.py b/tests/dictionaries/70container_files_twice/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_files_twice/tiramisu/__init__.py rename to tests/dictionaries/70container_files_twice/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_files_twice/tiramisu/base.py b/tests/dictionaries/70container_files_twice/tiramisu/base.py similarity index 97% rename from tests/flattener_dicos/70container_files_twice/tiramisu/base.py rename to tests/dictionaries/70container_files_twice/tiramisu/base.py index ad85eac1..c44727b4 100644 --- a/tests/flattener_dicos/70container_files_twice/tiramisu/base.py +++ b/tests/dictionaries/70container_files_twice/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_filesmulti/00-base.xml b/tests/dictionaries/70container_filesmulti/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_filesmulti/00-base.xml rename to tests/dictionaries/70container_filesmulti/00-base.xml diff --git a/tests/flattener_dicos/70container_filesmulti/__init__.py b/tests/dictionaries/70container_filesmulti/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_filesmulti/__init__.py rename to tests/dictionaries/70container_filesmulti/__init__.py diff --git a/tests/flattener_dicos/70container_filesmulti/makedict/base.json b/tests/dictionaries/70container_filesmulti/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_filesmulti/makedict/base.json rename to tests/dictionaries/70container_filesmulti/makedict/base.json diff --git a/tests/flattener_dicos/70container_filesmulti/tiramisu/__init__.py b/tests/dictionaries/70container_filesmulti/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_filesmulti/tiramisu/__init__.py rename to tests/dictionaries/70container_filesmulti/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_filesmulti/tiramisu/base.py b/tests/dictionaries/70container_filesmulti/tiramisu/base.py similarity index 96% rename from tests/flattener_dicos/70container_filesmulti/tiramisu/base.py rename to tests/dictionaries/70container_filesmulti/tiramisu/base.py index 20734465..a219cf23 100644 --- a/tests/flattener_dicos/70container_filesmulti/tiramisu/base.py +++ b/tests/dictionaries/70container_filesmulti/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_filesredefine/00-base.xml b/tests/dictionaries/70container_filesredefine/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_filesredefine/00-base.xml rename to tests/dictionaries/70container_filesredefine/00-base.xml diff --git a/tests/flattener_dicos/70container_filesredefine/01-base.xml b/tests/dictionaries/70container_filesredefine/01-base.xml similarity index 100% rename from tests/flattener_dicos/70container_filesredefine/01-base.xml rename to tests/dictionaries/70container_filesredefine/01-base.xml diff --git a/tests/flattener_dicos/70container_filesredefine/__init__.py b/tests/dictionaries/70container_filesredefine/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_filesredefine/__init__.py rename to tests/dictionaries/70container_filesredefine/__init__.py diff --git a/tests/flattener_dicos/70container_filesredefine/makedict/base.json b/tests/dictionaries/70container_filesredefine/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_filesredefine/makedict/base.json rename to tests/dictionaries/70container_filesredefine/makedict/base.json diff --git a/tests/flattener_dicos/70container_filesredefine/tiramisu/__init__.py b/tests/dictionaries/70container_filesredefine/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_filesredefine/tiramisu/__init__.py rename to tests/dictionaries/70container_filesredefine/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_filesredefine/tiramisu/base.py b/tests/dictionaries/70container_filesredefine/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/70container_filesredefine/tiramisu/base.py rename to tests/dictionaries/70container_filesredefine/tiramisu/base.py index 535ab37f..3349c2af 100644 --- a/tests/flattener_dicos/70container_filesredefine/tiramisu/base.py +++ b/tests/dictionaries/70container_filesredefine/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_new/00-base.xml b/tests/dictionaries/70container_new/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_new/00-base.xml rename to tests/dictionaries/70container_new/00-base.xml diff --git a/tests/flattener_dicos/70container_new/__init__.py b/tests/dictionaries/70container_new/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_new/__init__.py rename to tests/dictionaries/70container_new/__init__.py diff --git a/tests/flattener_dicos/70container_new/makedict/base.json b/tests/dictionaries/70container_new/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_new/makedict/base.json rename to tests/dictionaries/70container_new/makedict/base.json diff --git a/tests/flattener_dicos/70container_new/tiramisu/__init__.py b/tests/dictionaries/70container_new/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_new/tiramisu/__init__.py rename to tests/dictionaries/70container_new/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_new/tiramisu/base.py b/tests/dictionaries/70container_new/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/70container_new/tiramisu/base.py rename to tests/dictionaries/70container_new/tiramisu/base.py index 32d64fd3..fa2c92b4 100644 --- a/tests/flattener_dicos/70container_new/tiramisu/base.py +++ b/tests/dictionaries/70container_new/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_newnocont/00-base.xml b/tests/dictionaries/70container_newnocont/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_newnocont/00-base.xml rename to tests/dictionaries/70container_newnocont/00-base.xml diff --git a/tests/flattener_dicos/70container_newnocont/__init__.py b/tests/dictionaries/70container_newnocont/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_newnocont/__init__.py rename to tests/dictionaries/70container_newnocont/__init__.py diff --git a/tests/flattener_dicos/70container_newnocont/makedict/base.json b/tests/dictionaries/70container_newnocont/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_newnocont/makedict/base.json rename to tests/dictionaries/70container_newnocont/makedict/base.json diff --git a/tests/flattener_dicos/70container_newnocont/tiramisu/__init__.py b/tests/dictionaries/70container_newnocont/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_newnocont/tiramisu/__init__.py rename to tests/dictionaries/70container_newnocont/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_newnocont/tiramisu/base.py b/tests/dictionaries/70container_newnocont/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/70container_newnocont/tiramisu/base.py rename to tests/dictionaries/70container_newnocont/tiramisu/base.py index fed3f064..a8f65365 100644 --- a/tests/flattener_dicos/70container_newnocont/tiramisu/base.py +++ b/tests/dictionaries/70container_newnocont/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_newwithip/00-base.xml b/tests/dictionaries/70container_newwithip/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_newwithip/00-base.xml rename to tests/dictionaries/70container_newwithip/00-base.xml diff --git a/tests/flattener_dicos/70container_newwithip/__init__.py b/tests/dictionaries/70container_newwithip/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_newwithip/__init__.py rename to tests/dictionaries/70container_newwithip/__init__.py diff --git a/tests/flattener_dicos/70container_newwithip/makedict/base.json b/tests/dictionaries/70container_newwithip/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_newwithip/makedict/base.json rename to tests/dictionaries/70container_newwithip/makedict/base.json diff --git a/tests/flattener_dicos/70container_newwithip/tiramisu/__init__.py b/tests/dictionaries/70container_newwithip/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_newwithip/tiramisu/__init__.py rename to tests/dictionaries/70container_newwithip/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_newwithip/tiramisu/base.py b/tests/dictionaries/70container_newwithip/tiramisu/base.py similarity index 92% rename from tests/flattener_dicos/70container_newwithip/tiramisu/base.py rename to tests/dictionaries/70container_newwithip/tiramisu/base.py index 8fc41114..74982c5f 100644 --- a/tests/flattener_dicos/70container_newwithip/tiramisu/base.py +++ b/tests/dictionaries/70container_newwithip/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_4 = IPOption(allow_reserved=True, properties=frozenset({'normal'}), name='adresse_ip_test', doc='No change', multi=False) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) diff --git a/tests/flattener_dicos/70container_pathaccess/00-base.xml b/tests/dictionaries/70container_pathaccess/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_pathaccess/00-base.xml rename to tests/dictionaries/70container_pathaccess/00-base.xml diff --git a/tests/flattener_dicos/70container_pathaccess/__init__.py b/tests/dictionaries/70container_pathaccess/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_pathaccess/__init__.py rename to tests/dictionaries/70container_pathaccess/__init__.py diff --git a/tests/flattener_dicos/70container_pathaccess/makedict/base.json b/tests/dictionaries/70container_pathaccess/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_pathaccess/makedict/base.json rename to tests/dictionaries/70container_pathaccess/makedict/base.json diff --git a/tests/flattener_dicos/70container_pathaccess/tiramisu/__init__.py b/tests/dictionaries/70container_pathaccess/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_pathaccess/tiramisu/__init__.py rename to tests/dictionaries/70container_pathaccess/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_pathaccess/tiramisu/base.py b/tests/dictionaries/70container_pathaccess/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/70container_pathaccess/tiramisu/base.py rename to tests/dictionaries/70container_pathaccess/tiramisu/base.py index 7e0d5c67..8478bedf 100644 --- a/tests/flattener_dicos/70container_pathaccess/tiramisu/base.py +++ b/tests/dictionaries/70container_pathaccess/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_4 = NetmaskOption(properties=frozenset({'basic', 'mandatory'}), name='nut_monitor_netmask', doc='Masque de l\'IP du réseau de l\'esclave', multi=False) option_5 = NetworkOption(properties=frozenset({'basic', 'mandatory'}), name='nut_monitor_host', doc='Adresse IP du réseau de l\'esclave', multi=False) diff --git a/tests/flattener_dicos/70container_pathaccess_leadership/00-base.xml b/tests/dictionaries/70container_pathaccess_leadership/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_pathaccess_leadership/00-base.xml rename to tests/dictionaries/70container_pathaccess_leadership/00-base.xml diff --git a/tests/flattener_dicos/70container_pathaccess_leadership/__init__.py b/tests/dictionaries/70container_pathaccess_leadership/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_pathaccess_leadership/__init__.py rename to tests/dictionaries/70container_pathaccess_leadership/__init__.py diff --git a/tests/flattener_dicos/70container_pathaccess_leadership/makedict/base.json b/tests/dictionaries/70container_pathaccess_leadership/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_pathaccess_leadership/makedict/base.json rename to tests/dictionaries/70container_pathaccess_leadership/makedict/base.json diff --git a/tests/flattener_dicos/70container_pathaccess_leadership/tiramisu/__init__.py b/tests/dictionaries/70container_pathaccess_leadership/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_pathaccess_leadership/tiramisu/__init__.py rename to tests/dictionaries/70container_pathaccess_leadership/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_pathaccess_leadership/tiramisu/base.py b/tests/dictionaries/70container_pathaccess_leadership/tiramisu/base.py similarity index 95% rename from tests/flattener_dicos/70container_pathaccess_leadership/tiramisu/base.py rename to tests/dictionaries/70container_pathaccess_leadership/tiramisu/base.py index e6b3e795..532c9442 100644 --- a/tests/flattener_dicos/70container_pathaccess_leadership/tiramisu/base.py +++ b/tests/dictionaries/70container_pathaccess_leadership/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_5 = NetmaskOption(properties=frozenset({'mandatory'}), name='nut_monitor_netmask', doc='Masque de l\'IP du réseau de l\'esclave', multi=True) option_6 = NetworkOption(properties=frozenset({'basic', 'mandatory'}), name='nut_monitor_host', doc='Adresse IP du réseau de l\'esclave', multi=True) diff --git a/tests/flattener_dicos/70container_save/00-base.xml b/tests/dictionaries/70container_save/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_save/00-base.xml rename to tests/dictionaries/70container_save/00-base.xml diff --git a/tests/flattener_dicos/70container_save/__init__.py b/tests/dictionaries/70container_save/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_save/__init__.py rename to tests/dictionaries/70container_save/__init__.py diff --git a/tests/flattener_dicos/70container_save/makedict/base.json b/tests/dictionaries/70container_save/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_save/makedict/base.json rename to tests/dictionaries/70container_save/makedict/base.json diff --git a/tests/flattener_dicos/70container_save/tiramisu/__init__.py b/tests/dictionaries/70container_save/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_save/tiramisu/__init__.py rename to tests/dictionaries/70container_save/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_save/tiramisu/base.py b/tests/dictionaries/70container_save/tiramisu/base.py similarity index 88% rename from tests/flattener_dicos/70container_save/tiramisu/base.py rename to tests/dictionaries/70container_save/tiramisu/base.py index f3992cfa..a677ef41 100644 --- a/tests/flattener_dicos/70container_save/tiramisu/base.py +++ b/tests/dictionaries/70container_save/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_serviceaccess/00-base.xml b/tests/dictionaries/70container_serviceaccess/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_serviceaccess/00-base.xml rename to tests/dictionaries/70container_serviceaccess/00-base.xml diff --git a/tests/flattener_dicos/70container_serviceaccess/__init__.py b/tests/dictionaries/70container_serviceaccess/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_serviceaccess/__init__.py rename to tests/dictionaries/70container_serviceaccess/__init__.py diff --git a/tests/flattener_dicos/70container_serviceaccess/makedict/base.json b/tests/dictionaries/70container_serviceaccess/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_serviceaccess/makedict/base.json rename to tests/dictionaries/70container_serviceaccess/makedict/base.json diff --git a/tests/flattener_dicos/70container_serviceaccess/tiramisu/__init__.py b/tests/dictionaries/70container_serviceaccess/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_serviceaccess/tiramisu/__init__.py rename to tests/dictionaries/70container_serviceaccess/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_serviceaccess/tiramisu/base.py b/tests/dictionaries/70container_serviceaccess/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/70container_serviceaccess/tiramisu/base.py rename to tests/dictionaries/70container_serviceaccess/tiramisu/base.py index 5482792a..9f1d758e 100644 --- a/tests/flattener_dicos/70container_serviceaccess/tiramisu/base.py +++ b/tests/dictionaries/70container_serviceaccess/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_servicerestriction/00-base.xml b/tests/dictionaries/70container_servicerestriction/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_servicerestriction/00-base.xml rename to tests/dictionaries/70container_servicerestriction/00-base.xml diff --git a/tests/flattener_dicos/70container_servicerestriction/__init__.py b/tests/dictionaries/70container_servicerestriction/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_servicerestriction/__init__.py rename to tests/dictionaries/70container_servicerestriction/__init__.py diff --git a/tests/flattener_dicos/70container_servicerestriction/makedict/base.json b/tests/dictionaries/70container_servicerestriction/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_servicerestriction/makedict/base.json rename to tests/dictionaries/70container_servicerestriction/makedict/base.json diff --git a/tests/flattener_dicos/70container_servicerestriction/tiramisu/__init__.py b/tests/dictionaries/70container_servicerestriction/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_servicerestriction/tiramisu/__init__.py rename to tests/dictionaries/70container_servicerestriction/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_servicerestriction/tiramisu/base.py b/tests/dictionaries/70container_servicerestriction/tiramisu/base.py similarity index 94% rename from tests/flattener_dicos/70container_servicerestriction/tiramisu/base.py rename to tests/dictionaries/70container_servicerestriction/tiramisu/base.py index 954c5aac..dc331651 100644 --- a/tests/flattener_dicos/70container_servicerestriction/tiramisu/base.py +++ b/tests/dictionaries/70container_servicerestriction/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70container_services/00-base.xml b/tests/dictionaries/70container_services/00-base.xml similarity index 100% rename from tests/flattener_dicos/70container_services/00-base.xml rename to tests/dictionaries/70container_services/00-base.xml diff --git a/tests/flattener_dicos/70container_services/__init__.py b/tests/dictionaries/70container_services/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_services/__init__.py rename to tests/dictionaries/70container_services/__init__.py diff --git a/tests/flattener_dicos/70container_services/makedict/base.json b/tests/dictionaries/70container_services/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70container_services/makedict/base.json rename to tests/dictionaries/70container_services/makedict/base.json diff --git a/tests/flattener_dicos/70container_services/tiramisu/__init__.py b/tests/dictionaries/70container_services/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70container_services/tiramisu/__init__.py rename to tests/dictionaries/70container_services/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70container_services/tiramisu/base.py b/tests/dictionaries/70container_services/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/70container_services/tiramisu/base.py rename to tests/dictionaries/70container_services/tiramisu/base.py index b43dfac4..ec256f8e 100644 --- a/tests/flattener_dicos/70container_services/tiramisu/base.py +++ b/tests/dictionaries/70container_services/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/70services_unmanage/00-base.xml b/tests/dictionaries/70services_unmanage/00-base.xml similarity index 100% rename from tests/flattener_dicos/70services_unmanage/00-base.xml rename to tests/dictionaries/70services_unmanage/00-base.xml diff --git a/tests/flattener_dicos/70services_unmanage/__init__.py b/tests/dictionaries/70services_unmanage/__init__.py similarity index 100% rename from tests/flattener_dicos/70services_unmanage/__init__.py rename to tests/dictionaries/70services_unmanage/__init__.py diff --git a/tests/flattener_dicos/70services_unmanage/makedict/base.json b/tests/dictionaries/70services_unmanage/makedict/base.json similarity index 100% rename from tests/flattener_dicos/70services_unmanage/makedict/base.json rename to tests/dictionaries/70services_unmanage/makedict/base.json diff --git a/tests/flattener_dicos/70services_unmanage/tiramisu/__init__.py b/tests/dictionaries/70services_unmanage/tiramisu/__init__.py similarity index 100% rename from tests/flattener_dicos/70services_unmanage/tiramisu/__init__.py rename to tests/dictionaries/70services_unmanage/tiramisu/__init__.py diff --git a/tests/flattener_dicos/70services_unmanage/tiramisu/base.py b/tests/dictionaries/70services_unmanage/tiramisu/base.py similarity index 91% rename from tests/flattener_dicos/70services_unmanage/tiramisu/base.py rename to tests/dictionaries/70services_unmanage/tiramisu/base.py index dbb49546..7c1441a4 100644 --- a/tests/flattener_dicos/70services_unmanage/tiramisu/base.py +++ b/tests/dictionaries/70services_unmanage/tiramisu/base.py @@ -1,7 +1,7 @@ from tiramisu import * from rougail.tiramisu import ConvertDynOptionDescription import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') +func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py') option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) diff --git a/tests/flattener_dicos/80condition_itself/00-base.xml b/tests/dictionaries/80condition_itself/00-base.xml similarity index 100% rename from tests/flattener_dicos/80condition_itself/00-base.xml rename to tests/dictionaries/80condition_itself/00-base.xml diff --git a/tests/flattener_dicos/80condition_itself/__init__.py b/tests/dictionaries/80condition_itself/__init__.py similarity index 100% rename from tests/flattener_dicos/80condition_itself/__init__.py rename to tests/dictionaries/80condition_itself/__init__.py diff --git a/tests/flattener_dicos/80condition_not_exists_error/00-base.xml b/tests/dictionaries/80condition_not_exists_error/00-base.xml similarity index 100% rename from tests/flattener_dicos/80condition_not_exists_error/00-base.xml rename to tests/dictionaries/80condition_not_exists_error/00-base.xml diff --git a/tests/flattener_dicos/80condition_not_exists_error/__init__.py b/tests/dictionaries/80condition_not_exists_error/__init__.py similarity index 100% rename from tests/flattener_dicos/80condition_not_exists_error/__init__.py rename to tests/dictionaries/80condition_not_exists_error/__init__.py diff --git a/tests/flattener_dicos/80container_files_symlink_without_source/00-base.xml b/tests/dictionaries/80container_files_symlink_without_source/00-base.xml similarity index 100% rename from tests/flattener_dicos/80container_files_symlink_without_source/00-base.xml rename to tests/dictionaries/80container_files_symlink_without_source/00-base.xml diff --git a/tests/flattener_dicos/80container_files_symlink_without_source/__init__.py b/tests/dictionaries/80container_files_symlink_without_source/__init__.py similarity index 100% rename from tests/flattener_dicos/80container_files_symlink_without_source/__init__.py rename to tests/dictionaries/80container_files_symlink_without_source/__init__.py diff --git a/tests/flattener_dicos/80container_filesredefine_error/00-base.xml b/tests/dictionaries/80container_filesredefine_error/00-base.xml similarity index 100% rename from tests/flattener_dicos/80container_filesredefine_error/00-base.xml rename to tests/dictionaries/80container_filesredefine_error/00-base.xml diff --git a/tests/flattener_dicos/80container_filesredefine_error/01-base.xml b/tests/dictionaries/80container_filesredefine_error/01-base.xml similarity index 100% rename from tests/flattener_dicos/80container_filesredefine_error/01-base.xml rename to tests/dictionaries/80container_filesredefine_error/01-base.xml diff --git a/tests/flattener_dicos/80container_filesredefine_error/__init__.py b/tests/dictionaries/80container_filesredefine_error/__init__.py similarity index 100% rename from tests/flattener_dicos/80container_filesredefine_error/__init__.py rename to tests/dictionaries/80container_filesredefine_error/__init__.py diff --git a/tests/flattener_dicos/80empty_typeeole_eole/00_base.xml b/tests/dictionaries/80empty_typeeole_eole/00_base.xml similarity index 100% rename from tests/flattener_dicos/80empty_typeeole_eole/00_base.xml rename to tests/dictionaries/80empty_typeeole_eole/00_base.xml diff --git a/tests/flattener_dicos/80empty_typeeole_eole/__init__.py b/tests/dictionaries/80empty_typeeole_eole/__init__.py similarity index 100% rename from tests/flattener_dicos/80empty_typeeole_eole/__init__.py rename to tests/dictionaries/80empty_typeeole_eole/__init__.py diff --git a/tests/flattener_dicos/80empty_typeeole_number/00_base.xml b/tests/dictionaries/80empty_typeeole_number/00_base.xml similarity index 100% rename from tests/flattener_dicos/80empty_typeeole_number/00_base.xml rename to tests/dictionaries/80empty_typeeole_number/00_base.xml diff --git a/tests/flattener_dicos/80empty_typeeole_number/__init__.py b/tests/dictionaries/80empty_typeeole_number/__init__.py similarity index 100% rename from tests/flattener_dicos/80empty_typeeole_number/__init__.py rename to tests/dictionaries/80empty_typeeole_number/__init__.py diff --git a/tests/flattener_dicos/80empty_typeeole_python/00_base.xml b/tests/dictionaries/80empty_typeeole_python/00_base.xml similarity index 100% rename from tests/flattener_dicos/80empty_typeeole_python/00_base.xml rename to tests/dictionaries/80empty_typeeole_python/00_base.xml diff --git a/tests/flattener_dicos/80empty_typeeole_python/__init__.py b/tests/dictionaries/80empty_typeeole_python/__init__.py similarity index 100% rename from tests/flattener_dicos/80empty_typeeole_python/__init__.py rename to tests/dictionaries/80empty_typeeole_python/__init__.py diff --git a/tests/flattener_dicos/80empty_validenum/00-base.xml b/tests/dictionaries/80empty_validenum/00-base.xml similarity index 100% rename from tests/flattener_dicos/80empty_validenum/00-base.xml rename to tests/dictionaries/80empty_validenum/00-base.xml diff --git a/tests/flattener_dicos/80empty_validenum/__init__.py b/tests/dictionaries/80empty_validenum/__init__.py similarity index 100% rename from tests/flattener_dicos/80empty_validenum/__init__.py rename to tests/dictionaries/80empty_validenum/__init__.py diff --git a/tests/flattener_dicos/80family_several/00-base.xml b/tests/dictionaries/80family_several/00-base.xml similarity index 100% rename from tests/flattener_dicos/80family_several/00-base.xml rename to tests/dictionaries/80family_several/00-base.xml diff --git a/tests/flattener_dicos/80family_several/__init__.py b/tests/dictionaries/80family_several/__init__.py similarity index 100% rename from tests/flattener_dicos/80family_several/__init__.py rename to tests/dictionaries/80family_several/__init__.py diff --git a/tests/flattener_dicos/80fill_autofreeze/00-base.xml b/tests/dictionaries/80fill_autofreeze/00-base.xml similarity index 100% rename from tests/flattener_dicos/80fill_autofreeze/00-base.xml rename to tests/dictionaries/80fill_autofreeze/00-base.xml diff --git a/tests/flattener_dicos/80fill_autofreeze/__init__.py b/tests/dictionaries/80fill_autofreeze/__init__.py similarity index 100% rename from tests/flattener_dicos/80fill_autofreeze/__init__.py rename to tests/dictionaries/80fill_autofreeze/__init__.py diff --git a/tests/flattener_dicos/80fill_error/00-base.xml b/tests/dictionaries/80fill_error/00-base.xml similarity index 100% rename from tests/flattener_dicos/80fill_error/00-base.xml rename to tests/dictionaries/80fill_error/00-base.xml diff --git a/tests/flattener_dicos/80fill_error/__init__.py b/tests/dictionaries/80fill_error/__init__.py similarity index 100% rename from tests/flattener_dicos/80fill_error/__init__.py rename to tests/dictionaries/80fill_error/__init__.py diff --git a/tests/flattener_dicos/80fill_multi/00-base.xml b/tests/dictionaries/80fill_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/80fill_multi/00-base.xml rename to tests/dictionaries/80fill_multi/00-base.xml diff --git a/tests/flattener_dicos/80fill_multi/__init__.py b/tests/dictionaries/80fill_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/80fill_multi/__init__.py rename to tests/dictionaries/80fill_multi/__init__.py diff --git a/tests/flattener_dicos/80hidden_if_in_filelist/00-base.xml b/tests/dictionaries/80hidden_if_in_filelist/00-base.xml similarity index 100% rename from tests/flattener_dicos/80hidden_if_in_filelist/00-base.xml rename to tests/dictionaries/80hidden_if_in_filelist/00-base.xml diff --git a/tests/flattener_dicos/80hidden_if_in_filelist/__init__.py b/tests/dictionaries/80hidden_if_in_filelist/__init__.py similarity index 100% rename from tests/flattener_dicos/80hidden_if_in_filelist/__init__.py rename to tests/dictionaries/80hidden_if_in_filelist/__init__.py diff --git a/tests/flattener_dicos/80leadership_auto_save/00-base.xml b/tests/dictionaries/80leadership_auto_save/00-base.xml similarity index 100% rename from tests/flattener_dicos/80leadership_auto_save/00-base.xml rename to tests/dictionaries/80leadership_auto_save/00-base.xml diff --git a/tests/flattener_dicos/80leadership_auto_save/__init__.py b/tests/dictionaries/80leadership_auto_save/__init__.py similarity index 100% rename from tests/flattener_dicos/80leadership_auto_save/__init__.py rename to tests/dictionaries/80leadership_auto_save/__init__.py diff --git a/tests/flattener_dicos/80leadership_autofreeze/00-base.xml b/tests/dictionaries/80leadership_autofreeze/00-base.xml similarity index 100% rename from tests/flattener_dicos/80leadership_autofreeze/00-base.xml rename to tests/dictionaries/80leadership_autofreeze/00-base.xml diff --git a/tests/flattener_dicos/80leadership_autofreeze/__init__.py b/tests/dictionaries/80leadership_autofreeze/__init__.py similarity index 100% rename from tests/flattener_dicos/80leadership_autofreeze/__init__.py rename to tests/dictionaries/80leadership_autofreeze/__init__.py diff --git a/tests/flattener_dicos/80leadership_none_follower_between_follower/00-base.xml b/tests/dictionaries/80leadership_none_follower_between_follower/00-base.xml similarity index 100% rename from tests/flattener_dicos/80leadership_none_follower_between_follower/00-base.xml rename to tests/dictionaries/80leadership_none_follower_between_follower/00-base.xml diff --git a/tests/flattener_dicos/80leadership_none_follower_between_follower/__init__.py b/tests/dictionaries/80leadership_none_follower_between_follower/__init__.py similarity index 100% rename from tests/flattener_dicos/80leadership_none_follower_between_follower/__init__.py rename to tests/dictionaries/80leadership_none_follower_between_follower/__init__.py diff --git a/tests/flattener_dicos/80leadership_not_ordered/00-base.xml b/tests/dictionaries/80leadership_not_ordered/00-base.xml similarity index 100% rename from tests/flattener_dicos/80leadership_not_ordered/00-base.xml rename to tests/dictionaries/80leadership_not_ordered/00-base.xml diff --git a/tests/flattener_dicos/80leadership_not_ordered/__init__.py b/tests/dictionaries/80leadership_not_ordered/__init__.py similarity index 100% rename from tests/flattener_dicos/80leadership_not_ordered/__init__.py rename to tests/dictionaries/80leadership_not_ordered/__init__.py diff --git a/tests/flattener_dicos/80leadership_not_same_family/00-base.xml b/tests/dictionaries/80leadership_not_same_family/00-base.xml similarity index 100% rename from tests/flattener_dicos/80leadership_not_same_family/00-base.xml rename to tests/dictionaries/80leadership_not_same_family/00-base.xml diff --git a/tests/flattener_dicos/80leadership_not_same_family/__init__.py b/tests/dictionaries/80leadership_not_same_family/__init__.py similarity index 100% rename from tests/flattener_dicos/80leadership_not_same_family/__init__.py rename to tests/dictionaries/80leadership_not_same_family/__init__.py diff --git a/tests/flattener_dicos/80leadership_notexists/00-base.xml b/tests/dictionaries/80leadership_notexists/00-base.xml similarity index 100% rename from tests/flattener_dicos/80leadership_notexists/00-base.xml rename to tests/dictionaries/80leadership_notexists/00-base.xml diff --git a/tests/flattener_dicos/80leadership_notexists/__init__.py b/tests/dictionaries/80leadership_notexists/__init__.py similarity index 100% rename from tests/flattener_dicos/80leadership_notexists/__init__.py rename to tests/dictionaries/80leadership_notexists/__init__.py diff --git a/tests/flattener_dicos/80redefine_error/00-base.xml b/tests/dictionaries/80redefine_error/00-base.xml similarity index 100% rename from tests/flattener_dicos/80redefine_error/00-base.xml rename to tests/dictionaries/80redefine_error/00-base.xml diff --git a/tests/flattener_dicos/80redefine_error/01-redefine.xml b/tests/dictionaries/80redefine_error/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/80redefine_error/01-redefine.xml rename to tests/dictionaries/80redefine_error/01-redefine.xml diff --git a/tests/flattener_dicos/80redefine_error/__init__.py b/tests/dictionaries/80redefine_error/__init__.py similarity index 100% rename from tests/flattener_dicos/80redefine_error/__init__.py rename to tests/dictionaries/80redefine_error/__init__.py diff --git a/tests/flattener_dicos/80redefine_fillerror/00-base.xml b/tests/dictionaries/80redefine_fillerror/00-base.xml similarity index 100% rename from tests/flattener_dicos/80redefine_fillerror/00-base.xml rename to tests/dictionaries/80redefine_fillerror/00-base.xml diff --git a/tests/flattener_dicos/80redefine_fillerror/01-base.xml b/tests/dictionaries/80redefine_fillerror/01-base.xml similarity index 100% rename from tests/flattener_dicos/80redefine_fillerror/01-base.xml rename to tests/dictionaries/80redefine_fillerror/01-base.xml diff --git a/tests/flattener_dicos/80redefine_fillerror/__init__.py b/tests/dictionaries/80redefine_fillerror/__init__.py similarity index 100% rename from tests/flattener_dicos/80redefine_fillerror/__init__.py rename to tests/dictionaries/80redefine_fillerror/__init__.py diff --git a/tests/flattener_dicos/80redefine_helperror/00-base.xml b/tests/dictionaries/80redefine_helperror/00-base.xml similarity index 100% rename from tests/flattener_dicos/80redefine_helperror/00-base.xml rename to tests/dictionaries/80redefine_helperror/00-base.xml diff --git a/tests/flattener_dicos/80redefine_helperror/01-base.xml b/tests/dictionaries/80redefine_helperror/01-base.xml similarity index 100% rename from tests/flattener_dicos/80redefine_helperror/01-base.xml rename to tests/dictionaries/80redefine_helperror/01-base.xml diff --git a/tests/flattener_dicos/80redefine_helperror/__init__.py b/tests/dictionaries/80redefine_helperror/__init__.py similarity index 100% rename from tests/flattener_dicos/80redefine_helperror/__init__.py rename to tests/dictionaries/80redefine_helperror/__init__.py diff --git a/tests/flattener_dicos/80redefine_notexists/00-base.xml b/tests/dictionaries/80redefine_notexists/00-base.xml similarity index 100% rename from tests/flattener_dicos/80redefine_notexists/00-base.xml rename to tests/dictionaries/80redefine_notexists/00-base.xml diff --git a/tests/flattener_dicos/80redefine_notexists/01-redefine.xml b/tests/dictionaries/80redefine_notexists/01-redefine.xml similarity index 100% rename from tests/flattener_dicos/80redefine_notexists/01-redefine.xml rename to tests/dictionaries/80redefine_notexists/01-redefine.xml diff --git a/tests/flattener_dicos/80redefine_notexists/__init__.py b/tests/dictionaries/80redefine_notexists/__init__.py similarity index 100% rename from tests/flattener_dicos/80redefine_notexists/__init__.py rename to tests/dictionaries/80redefine_notexists/__init__.py diff --git a/tests/flattener_dicos/80separator_multi/00-base.xml b/tests/dictionaries/80separator_multi/00-base.xml similarity index 100% rename from tests/flattener_dicos/80separator_multi/00-base.xml rename to tests/dictionaries/80separator_multi/00-base.xml diff --git a/tests/flattener_dicos/80separator_multi/__init__.py b/tests/dictionaries/80separator_multi/__init__.py similarity index 100% rename from tests/flattener_dicos/80separator_multi/__init__.py rename to tests/dictionaries/80separator_multi/__init__.py diff --git a/tests/flattener_dicos/80separator_multi2/00-base.xml b/tests/dictionaries/80separator_multi2/00-base.xml similarity index 100% rename from tests/flattener_dicos/80separator_multi2/00-base.xml rename to tests/dictionaries/80separator_multi2/00-base.xml diff --git a/tests/flattener_dicos/80separator_multi2/01-base.xml b/tests/dictionaries/80separator_multi2/01-base.xml similarity index 100% rename from tests/flattener_dicos/80separator_multi2/01-base.xml rename to tests/dictionaries/80separator_multi2/01-base.xml diff --git a/tests/flattener_dicos/80separator_multi2/__init__.py b/tests/dictionaries/80separator_multi2/__init__.py similarity index 100% rename from tests/flattener_dicos/80separator_multi2/__init__.py rename to tests/dictionaries/80separator_multi2/__init__.py diff --git a/tests/flattener_dicos/80separator_nonexists/00-base.xml b/tests/dictionaries/80separator_nonexists/00-base.xml similarity index 100% rename from tests/flattener_dicos/80separator_nonexists/00-base.xml rename to tests/dictionaries/80separator_nonexists/00-base.xml diff --git a/tests/flattener_dicos/80separator_nonexists/__init__.py b/tests/dictionaries/80separator_nonexists/__init__.py similarity index 100% rename from tests/flattener_dicos/80separator_nonexists/__init__.py rename to tests/dictionaries/80separator_nonexists/__init__.py diff --git a/tests/flattener_dicos/80unknown_validenum/00-base.xml b/tests/dictionaries/80unknown_validenum/00-base.xml similarity index 100% rename from tests/flattener_dicos/80unknown_validenum/00-base.xml rename to tests/dictionaries/80unknown_validenum/00-base.xml diff --git a/tests/flattener_dicos/80unknown_validenum/__init__.py b/tests/dictionaries/80unknown_validenum/__init__.py similarity index 100% rename from tests/flattener_dicos/80unknown_validenum/__init__.py rename to tests/dictionaries/80unknown_validenum/__init__.py diff --git a/tests/flattener_dicos/80validenum_ouinon/00-base.xml b/tests/dictionaries/80validenum_ouinon/00-base.xml similarity index 100% rename from tests/flattener_dicos/80validenum_ouinon/00-base.xml rename to tests/dictionaries/80validenum_ouinon/00-base.xml diff --git a/tests/flattener_dicos/80validenum_ouinon/__init__.py b/tests/dictionaries/80validenum_ouinon/__init__.py similarity index 100% rename from tests/flattener_dicos/80validenum_ouinon/__init__.py rename to tests/dictionaries/80validenum_ouinon/__init__.py diff --git a/tests/flattener_dicos/80validenum_python_not_list/00-base.xml b/tests/dictionaries/80validenum_python_not_list/00-base.xml similarity index 100% rename from tests/flattener_dicos/80validenum_python_not_list/00-base.xml rename to tests/dictionaries/80validenum_python_not_list/00-base.xml diff --git a/tests/flattener_dicos/80validenum_python_not_list/__init__.py b/tests/dictionaries/80validenum_python_not_list/__init__.py similarity index 100% rename from tests/flattener_dicos/80validenum_python_not_list/__init__.py rename to tests/dictionaries/80validenum_python_not_list/__init__.py diff --git a/tests/flattener_dicos/80validenum_python_unknown/00-base.xml b/tests/dictionaries/80validenum_python_unknown/00-base.xml similarity index 100% rename from tests/flattener_dicos/80validenum_python_unknown/00-base.xml rename to tests/dictionaries/80validenum_python_unknown/00-base.xml diff --git a/tests/flattener_dicos/80validenum_python_unknown/__init__.py b/tests/dictionaries/80validenum_python_unknown/__init__.py similarity index 100% rename from tests/flattener_dicos/80validenum_python_unknown/__init__.py rename to tests/dictionaries/80validenum_python_unknown/__init__.py diff --git a/tests/flattener_dicos/80validenum_python_unknownvalue/00-base.xml b/tests/dictionaries/80validenum_python_unknownvalue/00-base.xml similarity index 100% rename from tests/flattener_dicos/80validenum_python_unknownvalue/00-base.xml rename to tests/dictionaries/80validenum_python_unknownvalue/00-base.xml diff --git a/tests/flattener_dicos/80validenum_python_unknownvalue/__init__.py b/tests/dictionaries/80validenum_python_unknownvalue/__init__.py similarity index 100% rename from tests/flattener_dicos/80validenum_python_unknownvalue/__init__.py rename to tests/dictionaries/80validenum_python_unknownvalue/__init__.py diff --git a/tests/flattener_dicos/88valid_enum_not_number/00-base.xml b/tests/dictionaries/88valid_enum_not_number/00-base.xml similarity index 100% rename from tests/flattener_dicos/88valid_enum_not_number/00-base.xml rename to tests/dictionaries/88valid_enum_not_number/00-base.xml diff --git a/tests/flattener_dicos/88valid_enum_not_number/__init__.py b/tests/dictionaries/88valid_enum_not_number/__init__.py similarity index 100% rename from tests/flattener_dicos/88valid_enum_not_number/__init__.py rename to tests/dictionaries/88valid_enum_not_number/__init__.py diff --git a/tests/flattener_dicos/88valid_enum_numberdefaultstring/00-base.xml b/tests/dictionaries/88valid_enum_numberdefaultstring/00-base.xml similarity index 100% rename from tests/flattener_dicos/88valid_enum_numberdefaultstring/00-base.xml rename to tests/dictionaries/88valid_enum_numberdefaultstring/00-base.xml diff --git a/tests/flattener_dicos/88valid_enum_numberdefaultstring/__init__.py b/tests/dictionaries/88valid_enum_numberdefaultstring/__init__.py similarity index 100% rename from tests/flattener_dicos/88valid_enum_numberdefaultstring/__init__.py rename to tests/dictionaries/88valid_enum_numberdefaultstring/__init__.py diff --git a/tests/flattener_dicos/__init__.py b/tests/dictionaries/__init__.py similarity index 100% rename from tests/flattener_dicos/__init__.py rename to tests/dictionaries/__init__.py diff --git a/tests/templates/11disabled_if_in_filelist/__init__.py b/tests/templates/11disabled_if_in_filelist/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/templates/11disabled_if_in_filelist/base.py b/tests/templates/11disabled_if_in_filelist/base.py deleted file mode 100644 index 37fb14df..00000000 --- a/tests/templates/11disabled_if_in_filelist/base.py +++ /dev/null @@ -1,21 +0,0 @@ -from tiramisu import * -from rougail.tiramisu import ConvertDynOptionDescription -import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') -option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='non', values=('oui', 'non')) -option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) -option_5 = BoolOption(default=True, properties=frozenset({'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False) -option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4, option_5]) -option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) -option_10 = StrOption(name='group', doc='group', multi=False, default='root') -option_11 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_12 = StrOption(name='name', doc='name', multi=False, default='/etc/file') -option_13 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_14 = StrOption(name='source', doc='source', multi=False, default='file') -option_15 = BoolOption(default=True, name='templating', doc='templating', multi=False) -option_16 = BoolOption(default=True, properties=frozenset({Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='activate', doc='activate', multi=False) -option_9 = OptionDescription(name='file', doc='file', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16]) -option_8 = OptionDescription(name='files', doc='files', children=[option_9]) -option_7 = OptionDescription(name='test', doc='test', children=[option_8]) -option_6 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_7]) -option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6]) diff --git a/tests/templates/11disabled_if_in_filelist_disabled/__init__.py b/tests/templates/11disabled_if_in_filelist_disabled/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/templates/11disabled_if_in_filelist_disabled/base.py b/tests/templates/11disabled_if_in_filelist_disabled/base.py deleted file mode 100644 index a1d97a8a..00000000 --- a/tests/templates/11disabled_if_in_filelist_disabled/base.py +++ /dev/null @@ -1,21 +0,0 @@ -from tiramisu import * -from rougail.tiramisu import ConvertDynOptionDescription -import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') -option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='condition', doc='No change', multi=False, default='oui', values=('oui', 'non')) -option_4 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) -option_5 = ChoiceOption(properties=frozenset({'mandatory', 'normal', Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='mode_conteneur_actif2', doc='No change', multi=False, default='non', values=('oui', 'non')) -option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3, option_4, option_5]) -option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) -option_10 = StrOption(name='group', doc='group', multi=False, default='root') -option_11 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_12 = StrOption(name='name', doc='name', multi=False, default='/etc/file') -option_13 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_14 = StrOption(name='source', doc='source', multi=False, default='file') -option_15 = BoolOption(default=True, name='templating', doc='templating', multi=False) -option_16 = BoolOption(default=True, properties=frozenset({Calculation(calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True), 'expected': ParamValue('oui')}))}), name='activate', doc='activate', multi=False) -option_9 = OptionDescription(name='file', doc='file', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16]) -option_8 = OptionDescription(name='files', doc='files', children=[option_9]) -option_7 = OptionDescription(name='test', doc='test', children=[option_8]) -option_6 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_7]) -option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6]) diff --git a/tests/templates/20notemplating/__init__.py b/tests/templates/20notemplating/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/templates/20notemplating/base.py b/tests/templates/20notemplating/base.py deleted file mode 100644 index b37ec7dd..00000000 --- a/tests/templates/20notemplating/base.py +++ /dev/null @@ -1,19 +0,0 @@ -from tiramisu import * -from rougail.tiramisu import ConvertDynOptionDescription -import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') -option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) -option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) -option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) -option_8 = StrOption(name='group', doc='group', multi=False, default='root') -option_9 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_10 = StrOption(name='name', doc='name', multi=False, default='/etc/file') -option_11 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_12 = StrOption(name='source', doc='source', multi=False, default='file') -option_13 = BoolOption(default=False, name='templating', doc='templating', multi=False) -option_14 = BoolOption(default=True, name='activate', doc='activate', multi=False) -option_7 = OptionDescription(name='file', doc='file', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14]) -option_6 = OptionDescription(name='files', doc='files', children=[option_7]) -option_5 = OptionDescription(name='test', doc='test', children=[option_6]) -option_4 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_5]) -option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4]) diff --git a/tests/templates/20override/__init__.py b/tests/templates/20override/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/templates/20override/base.py b/tests/templates/20override/base.py deleted file mode 100644 index c420cb30..00000000 --- a/tests/templates/20override/base.py +++ /dev/null @@ -1,19 +0,0 @@ -from tiramisu import * -from rougail.tiramisu import ConvertDynOptionDescription -import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') -option_3 = ChoiceOption(properties=frozenset({'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) -option_2 = OptionDescription(name='general', doc='general', properties=frozenset({'normal'}), children=[option_3]) -option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) -option_8 = StrOption(name='group', doc='group', multi=False, default='root') -option_9 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_10 = StrOption(name='name', doc='name', multi=False, default='/systemd/system/test.service.d/rougail.conf') -option_11 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_12 = StrOption(name='source', doc='source', multi=False, default='test.service') -option_13 = BoolOption(default=True, name='templating', doc='templating', multi=False) -option_14 = BoolOption(default=True, name='activate', doc='activate', multi=False) -option_7 = OptionDescription(name='test_service', doc='test.service', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14]) -option_6 = OptionDescription(name='overrides', doc='overrides', children=[option_7]) -option_5 = OptionDescription(name='test', doc='test', children=[option_6]) -option_4 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_5]) -option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4]) diff --git a/tests/templates/60extra_group/__init__.py b/tests/templates/60extra_group/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/templates/60extra_group/base.py b/tests/templates/60extra_group/base.py deleted file mode 100644 index d409ba80..00000000 --- a/tests/templates/60extra_group/base.py +++ /dev/null @@ -1,25 +0,0 @@ -from tiramisu import * -from rougail.tiramisu import ConvertDynOptionDescription -import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') -option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='non', values=('oui', 'non')) -option_4 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='activer_ejabberd', doc='No change', multi=False, default='non', values=('oui', 'non')) -option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) -option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) -option_8 = StrOption(properties=frozenset({'mandatory'}), name='description', doc='description', multi=True, default=['test']) -option_9 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='mode', doc='mode', multi=True, default_multi='pre') -option_7 = Leadership(name='description', doc='description', properties=frozenset({'normal'}), children=[option_8, option_9]) -option_6 = OptionDescription(name='ejabberd', doc='ejabberd', properties=frozenset({'normal'}), children=[option_7]) -option_5 = OptionDescription(name='extra', doc='extra', children=[option_6]) -option_14 = StrOption(name='group', doc='group', multi=False, default='root') -option_15 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_16 = StrOption(name='name', doc='name', multi=False, default='/etc/mailname') -option_17 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_18 = StrOption(name='source', doc='source', multi=False, default='mailname') -option_19 = BoolOption(default=True, name='templating', doc='templating', multi=False) -option_20 = BoolOption(default=True, name='activate', doc='activate', multi=False) -option_13 = OptionDescription(name='mailname', doc='mailname', children=[option_14, option_15, option_16, option_17, option_18, option_19, option_20]) -option_12 = OptionDescription(name='files', doc='files', children=[option_13]) -option_11 = OptionDescription(name='test', doc='test', children=[option_12]) -option_10 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_11]) -option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_5, option_10]) diff --git a/tests/templates/70container_files/__init__.py b/tests/templates/70container_files/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/templates/70container_files/base.py b/tests/templates/70container_files/base.py deleted file mode 100644 index a012e8eb..00000000 --- a/tests/templates/70container_files/base.py +++ /dev/null @@ -1,27 +0,0 @@ -from tiramisu import * -from rougail.tiramisu import ConvertDynOptionDescription -import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') -option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) -option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3]) -option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) -option_8 = StrOption(name='group', doc='group', multi=False, default='root') -option_9 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_10 = StrOption(name='name', doc='name', multi=False, default='/etc/mailname') -option_11 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_12 = StrOption(name='source', doc='source', multi=False, default='mailname') -option_13 = BoolOption(default=True, name='templating', doc='templating', multi=False) -option_14 = BoolOption(default=True, name='activate', doc='activate', multi=False) -option_7 = OptionDescription(name='mailname', doc='mailname', children=[option_8, option_9, option_10, option_11, option_12, option_13, option_14]) -option_16 = StrOption(name='group', doc='group', multi=False, default='root') -option_17 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_18 = StrOption(name='name', doc='name', multi=False, default='/rougail.conf') -option_19 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_20 = StrOption(name='source', doc='source', multi=False, default='rougail.conf') -option_21 = BoolOption(default=True, name='templating', doc='templating', multi=False) -option_22 = BoolOption(default=True, name='activate', doc='activate', multi=False) -option_15 = OptionDescription(name='rougail_conf', doc='rougail.conf', children=[option_16, option_17, option_18, option_19, option_20, option_21, option_22]) -option_6 = OptionDescription(name='files', doc='files', children=[option_7, option_15]) -option_5 = OptionDescription(name='test', doc='test', children=[option_6]) -option_4 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_5]) -option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_4]) diff --git a/tests/templates/70container_files_symlink_multi/__init__.py b/tests/templates/70container_files_symlink_multi/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/templates/70container_files_symlink_multi/base.py b/tests/templates/70container_files_symlink_multi/base.py deleted file mode 100644 index 8d3caddc..00000000 --- a/tests/templates/70container_files_symlink_multi/base.py +++ /dev/null @@ -1,20 +0,0 @@ -from tiramisu import * -from rougail.tiramisu import ConvertDynOptionDescription -import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') -option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) -option_4 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='file_name', doc='file_name', multi=True, default=['/etc/mailname', '/etc/mailname2'], default_multi='/etc/mailname2') -option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4]) -option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) -option_9 = StrOption(name='group', doc='group', multi=False, default='root') -option_10 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_11 = SymLinkOption(name='name', opt=option_4) -option_12 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_13 = StrOption(name='source', doc='source', multi=False, default='mailname') -option_14 = BoolOption(default=True, name='templating', doc='templating', multi=False) -option_15 = BoolOption(default=True, name='activate', doc='activate', multi=False) -option_8 = OptionDescription(name='mailname', doc='mailname', children=[option_9, option_10, option_11, option_12, option_13, option_14, option_15]) -option_7 = OptionDescription(name='files', doc='files', children=[option_8]) -option_6 = OptionDescription(name='test', doc='test', children=[option_7]) -option_5 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_6]) -option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_5]) diff --git a/tests/templates/70container_files_symlink_multi/makedict/base.json b/tests/templates/70container_files_symlink_multi/makedict/base.json deleted file mode 100644 index e5344ac6..00000000 --- a/tests/templates/70container_files_symlink_multi/makedict/base.json +++ /dev/null @@ -1 +0,0 @@ -{"creole.general.file_name": ["/etc/mailname", "/etc/mailname2"], "containers.container0.files.file0.mkdir": false, "containers.container0.files.file0.name": ["/etc/mailname", "/etc/mailname2"], "containers.container0.files.file0.rm": false, "containers.container0.files.file0.source": "mailname", "containers.container0.files.file0.activate": true} \ No newline at end of file diff --git a/tests/templates/70container_files_symlink_multi_variable/__init__.py b/tests/templates/70container_files_symlink_multi_variable/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/templates/70container_files_symlink_multi_variable/base.py b/tests/templates/70container_files_symlink_multi_variable/base.py deleted file mode 100644 index 3fdeb247..00000000 --- a/tests/templates/70container_files_symlink_multi_variable/base.py +++ /dev/null @@ -1,22 +0,0 @@ -from tiramisu import * -from rougail.tiramisu import ConvertDynOptionDescription -import imp -func = imp.load_source('func', 'tests/flattener_dicos/../eosfunc/test.py') -option_3 = ChoiceOption(properties=frozenset({'force_default_on_freeze', 'frozen', 'hidden', 'mandatory', 'normal'}), name='mode_conteneur_actif', doc='No change', multi=False, default='oui', values=('oui', 'non')) -option_4 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='file_name', doc='file_name', multi=True, default=['/etc/mailname', '/etc/mailname2'], default_multi='/etc/mailname2') -option_5 = StrOption(properties=frozenset({'mandatory', 'normal'}), name='var', doc='var', multi=True, default=['mailname', 'mailname2'], default_multi='mailname2') -option_2 = OptionDescription(name='general', doc='général', properties=frozenset({'normal'}), children=[option_3, option_4, option_5]) -option_1 = OptionDescription(name='rougail', doc='rougail', children=[option_2]) -option_10 = StrOption(name='group', doc='group', multi=False, default='root') -option_11 = StrOption(name='mode', doc='mode', multi=False, default='0644') -option_12 = SymLinkOption(name='name', opt=option_4) -option_13 = StrOption(name='owner', doc='owner', multi=False, default='root') -option_14 = StrOption(name='source', doc='source', multi=False, default='mailname') -option_15 = BoolOption(default=True, name='templating', doc='templating', multi=False) -option_16 = SymLinkOption(name='variable', opt=option_5) -option_17 = BoolOption(default=True, name='activate', doc='activate', multi=False) -option_9 = OptionDescription(name='mailname', doc='mailname', children=[option_10, option_11, option_12, option_13, option_14, option_15, option_16, option_17]) -option_8 = OptionDescription(name='files', doc='files', children=[option_9]) -option_7 = OptionDescription(name='test', doc='test', children=[option_8]) -option_6 = OptionDescription(name='services', doc='services', properties=frozenset({'hidden'}), children=[option_7]) -option_0 = OptionDescription(name='baseoption', doc='baseoption', children=[option_1, option_6]) diff --git a/tests/templates/__init__.py b/tests/templates/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/test_1_flattener.py b/tests/test_1_flattener.py index f83798bc..7cb0b70e 100644 --- a/tests/test_1_flattener.py +++ b/tests/test_1_flattener.py @@ -11,7 +11,7 @@ from rougail.config import dtdfilename, variable_namespace -dico_dirs = 'tests/flattener_dicos' +dico_dirs = 'tests/dictionaries' test_ok = set() diff --git a/tests/test_3_template.py b/tests/test_3_template.py index cafc8156..71468d3d 100644 --- a/tests/test_3_template.py +++ b/tests/test_3_template.py @@ -9,8 +9,8 @@ from rougail import template from rougail.config import dtdfilename -template_dirs = 'tests/templates' -test_ok = [f for f in listdir(template_dirs) if not f.startswith('_')] +template_dirs = 'tests/dictionaries' +test_ok = [f for f in listdir(template_dirs) if not f.startswith('_') and isdir(join(template_dirs, f, 'tmpl'))] #test_ok = ['60extra_group'] @@ -40,7 +40,7 @@ async def test_dictionary(test_dir): test_dir = join(template_dirs, test_dir) tmp_dir = join(test_dir, 'tmp') - modulepath = test_dir.replace('/', '.') + '.base' + modulepath = test_dir.replace('/', '.') + '.tiramisu.base' mod = __import__(modulepath) for token in modulepath.split(".")[1:]: mod = getattr(mod, token)