From 46db4786877a0afab9b4699351380b400981bc84 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 25 Nov 2024 10:13:58 +0100 Subject: [PATCH] fix: prepare ansible user data --- README.md | 2 +- src/rougail/user_data_file/__init__.py | 25 ++++---- src/rougail/user_data_file/config.py | 2 +- tests/results/00_8test/file/all.yml | 3 + tests/results/00_8test/file/all_exclude.yml | 3 + tests/results/00_8test/file/mandatories.yml | 3 + tests/results/00_8test/makedict/all.json | 6 +- .../00_8test/makedict/mandatories.json | 6 +- .../01_6string_empty/file/mandatories.yml | 6 +- .../makedict/mandatories.json | 5 +- .../04_0type_param/file/mandatories.yml | 3 +- .../04_0type_param/makedict/mandatories.json | 2 +- .../errors/all.json | 0 .../errors/mandatories.json | 6 ++ .../file/all.yml | 4 ++ .../file/all_exclude.yml | 4 ++ .../file/mandatories.yml | 2 + .../makedict/all.json | 5 ++ .../makedict/mandatories.json | 4 ++ .../errors/all.json} | 0 .../errors/mandatories.json | 6 ++ .../file/all.yml | 4 ++ .../file/all_exclude.yml | 4 ++ .../file/mandatories.yml | 3 + .../makedict/all.json | 5 ++ .../makedict/mandatories.json | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 0 .../file/all_exclude.yml | 0 .../file/mandatories.yml | 0 .../makedict/all.json | 0 .../makedict/mandatories.json | 0 .../errors/mandatories.json | 4 +- .../file/mandatories.yml | 4 +- tests/results/40_0leadership/file/all.yml | 8 +-- .../40_0leadership/file/all_exclude.yml | 8 +-- .../40_0leadership/file/mandatories.yml | 8 +-- .../results/40_0leadership/makedict/all.json | 8 +-- .../40_0leadership/makedict/mandatories.json | 8 +-- .../40_0leadership_diff_name/file/all.yml | 8 +-- .../file/all_exclude.yml | 8 +-- .../file/mandatories.yml | 8 +-- .../makedict/all.json | 8 +-- .../makedict/mandatories.json | 8 +-- .../file/all.yml | 8 +-- .../file/all_exclude.yml | 8 +-- .../makedict/all.json | 8 +-- .../file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../makedict/all.json | 4 +- .../file/all.yml | 8 +-- .../file/all_exclude.yml | 8 +-- .../file/mandatories.yml | 8 +-- .../makedict/all.json | 8 +-- .../makedict/mandatories.json | 8 +-- .../file/all.yml | 12 ++-- .../file/all_exclude.yml | 12 ++-- .../file/mandatories.yml | 12 ++-- .../makedict/all.json | 12 ++-- .../makedict/mandatories.json | 12 ++-- .../file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../makedict/all.json | 4 +- .../file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../makedict/all.json | 4 +- .../file/all.yml | 8 +-- .../file/all_exclude.yml | 8 +-- .../file/mandatories.yml | 4 +- .../makedict/all.json | 8 +-- .../makedict/mandatories.json | 4 +- tests/results/41_0choice_leader/file/all.yml | 4 +- .../41_0choice_leader/file/all_exclude.yml | 4 +- .../41_0choice_leader/makedict/all.json | 4 +- .../file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../makedict/all.json | 4 +- .../44_4leadership_mandatory/file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../makedict/all.json | 4 +- .../file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../makedict/all.json | 4 +- .../file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../makedict/all.json | 4 +- .../file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../file/mandatories.yml | 4 +- .../makedict/all.json | 4 +- .../file/all.yml | 4 +- .../file/all_exclude.yml | 4 +- .../makedict/all.json | 4 +- .../60_0family_dynamic/file/all_exclude.yml | 4 ++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../60_0family_dynamic_1_0_empty/file/all.yml | 8 +++ .../file/all_exclude.yml | 5 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 8 +++ .../makedict/mandatories.json | 3 + .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 8 +++ .../file/all_exclude.yml | 5 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 8 +++ .../makedict/mandatories.json | 3 + .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../60_0family_dynamic_1_1_empty/file/all.yml | 8 +++ .../file/all_exclude.yml | 5 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 8 +++ .../makedict/mandatories.json | 3 + .../60_0family_dynamic_empty/errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../60_0family_dynamic_empty/file/all.yml | 11 ++++ .../file/all_exclude.yml | 7 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 10 +++ .../makedict/mandatories.json | 3 + .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 9 +++ .../file/all_exclude.yml | 6 ++ .../file/mandatories.yml | 2 + .../makedict/all.json | 9 +++ .../makedict/mandatories.json | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 11 ++++ .../file/all_exclude.yml | 11 ++++ .../file/mandatories.yml | 5 ++ .../makedict/all.json | 10 +++ .../makedict/mandatories.json | 8 +++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 8 +++ .../file/all_exclude.yml | 5 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 8 +++ .../makedict/mandatories.json | 3 + .../60_0family_dynamic_test/errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../60_0family_dynamic_test/file/all.yml | 8 +++ .../file/all_exclude.yml | 5 ++ .../file/mandatories.yml | 8 +++ .../60_0family_dynamic_test/makedict/all.json | 8 +++ .../makedict/mandatories.json | 8 +++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 8 +++ .../file/all_exclude.yml | 5 ++ .../file/mandatories.yml | 4 ++ .../makedict/all.json | 8 +++ .../makedict/mandatories.json | 8 +++ .../file/all_exclude.yml | 4 ++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 11 ++++ .../file/all_exclude.yml | 8 +++ .../file/mandatories.yml | 1 + .../makedict/all.json | 9 +++ .../makedict/mandatories.json | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 11 ++++ .../file/all_exclude.yml | 8 +++ .../file/mandatories.yml | 1 + .../makedict/all.json | 9 +++ .../makedict/mandatories.json | 4 ++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 9 +++ .../file/all_exclude.yml | 6 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 9 +++ .../makedict/mandatories.json | 4 ++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 9 +++ .../file/all_exclude.yml | 6 ++ .../file/mandatories.yml | 2 + .../makedict/all.json | 9 +++ .../makedict/mandatories.json | 4 ++ .../file/all_exclude.yml | 4 ++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 8 +++ .../file/all_exclude.yml | 5 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 8 +++ .../makedict/mandatories.json | 3 + .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 9 +++ .../file/all_exclude.yml | 6 ++ .../file/mandatories.yml | 2 + .../makedict/all.json | 9 +++ .../makedict/mandatories.json | 4 ++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 8 +++ .../file/all_exclude.yml | 5 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 8 +++ .../makedict/mandatories.json | 3 + .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 9 +++ .../file/all_exclude.yml | 6 ++ .../file/mandatories.yml | 2 + .../makedict/all.json | 9 +++ .../makedict/mandatories.json | 4 ++ .../file/all_exclude.yml | 5 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 26 ++++++++ .../file/all_exclude.yml | 21 ++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 24 +++++++ .../makedict/mandatories.json | 3 + .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 15 +++++ .../file/all_exclude.yml | 15 +++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 15 +++++ .../makedict/mandatories.json | 12 ++++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 12 ++++ .../file/all_exclude.yml | 9 +++ .../file/mandatories.yml | 5 ++ .../makedict/all.json | 13 ++++ .../makedict/mandatories.json | 8 +++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 12 ++++ .../file/all_exclude.yml | 9 +++ .../file/mandatories.yml | 5 ++ .../makedict/all.json | 13 ++++ .../makedict/mandatories.json | 8 +++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 12 ++++ .../file/all_exclude.yml | 9 +++ .../file/mandatories.yml | 5 ++ .../makedict/all.json | 13 ++++ .../makedict/mandatories.json | 8 +++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 18 ++++++ .../file/all_exclude.yml | 15 +++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 15 +++++ .../makedict/mandatories.json | 4 ++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 9 +++ .../file/all_exclude.yml | 6 ++ .../file/mandatories.yml | 1 + .../makedict/all.json | 9 +++ .../makedict/mandatories.json | 4 ++ .../file/all_exclude.yml | 4 ++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 14 ++++ .../file/all_exclude.yml | 11 ++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 14 ++++ .../makedict/mandatories.json | 3 + .../file/all.yml | 24 +++---- .../file/all_exclude.yml | 28 ++++---- .../makedict/all.json | 24 +++---- .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 26 ++++++++ .../file/all_exclude.yml | 23 +++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 40 ++++++++++++ .../makedict/mandatories.json | 3 + .../file/all_exclude.yml | 16 +++++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 56 ++++++++++++++++ .../file/all_exclude.yml | 56 ++++++++++++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 49 ++++++++++++++ .../makedict/mandatories.json | 26 ++++++++ .../errors/all.json | 4 ++ .../errors/mandatories.json | 4 ++ .../file/all.yml | 38 +++++++++++ .../file/all_exclude.yml | 35 ++++++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 34 ++++++++++ .../makedict/mandatories.json | 3 + .../68_0family_leadership_mode/file/all.yml | 8 +-- .../file/all_exclude.yml | 8 +-- .../makedict/all.json | 8 +-- tests/test_file.py | 64 +++++++++++-------- 318 files changed, 2002 insertions(+), 279 deletions(-) rename tests/results/{04_7validators_variable_optional => 04_1default_calculation_hidden}/errors/all.json (100%) create mode 100644 tests/results/04_1default_calculation_hidden/errors/mandatories.json create mode 100644 tests/results/04_1default_calculation_hidden/file/all.yml create mode 100644 tests/results/04_1default_calculation_hidden/file/all_exclude.yml create mode 100644 tests/results/04_1default_calculation_hidden/file/mandatories.yml create mode 100644 tests/results/04_1default_calculation_hidden/makedict/all.json create mode 100644 tests/results/04_1default_calculation_hidden/makedict/mandatories.json rename tests/results/{04_7validators_variable_optional/errors/mandatories.json => 04_1default_calculation_hidden_2/errors/all.json} (100%) create mode 100644 tests/results/04_1default_calculation_hidden_2/errors/mandatories.json create mode 100644 tests/results/04_1default_calculation_hidden_2/file/all.yml create mode 100644 tests/results/04_1default_calculation_hidden_2/file/all_exclude.yml create mode 100644 tests/results/04_1default_calculation_hidden_2/file/mandatories.yml create mode 100644 tests/results/04_1default_calculation_hidden_2/makedict/all.json create mode 100644 tests/results/04_1default_calculation_hidden_2/makedict/mandatories.json create mode 100644 tests/results/24_7validators_variable_optional/errors/all.json create mode 100644 tests/results/24_7validators_variable_optional/errors/mandatories.json rename tests/results/{04_7validators_variable_optional => 24_7validators_variable_optional}/file/all.yml (100%) rename tests/results/{04_7validators_variable_optional => 24_7validators_variable_optional}/file/all_exclude.yml (100%) rename tests/results/{04_7validators_variable_optional => 24_7validators_variable_optional}/file/mandatories.yml (100%) rename tests/results/{04_7validators_variable_optional => 24_7validators_variable_optional}/makedict/all.json (100%) rename tests/results/{04_7validators_variable_optional => 24_7validators_variable_optional}/makedict/mandatories.json (100%) create mode 100644 tests/results/60_0family_dynamic_1_0_empty/errors/all.json create mode 100644 tests/results/60_0family_dynamic_1_0_empty/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_1_0_empty/file/all.yml create mode 100644 tests/results/60_0family_dynamic_1_0_empty/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_1_0_empty/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_1_0_empty/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_1_0_empty/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_1_0_type_empty/errors/all.json create mode 100644 tests/results/60_0family_dynamic_1_0_type_empty/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_1_0_type_empty/file/all.yml create mode 100644 tests/results/60_0family_dynamic_1_0_type_empty/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_1_0_type_empty/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_1_0_type_empty/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_1_0_type_empty/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_1_1_empty/errors/all.json create mode 100644 tests/results/60_0family_dynamic_1_1_empty/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_1_1_empty/file/all.yml create mode 100644 tests/results/60_0family_dynamic_1_1_empty/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_1_1_empty/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_1_1_empty/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_1_1_empty/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_empty/errors/all.json create mode 100644 tests/results/60_0family_dynamic_empty/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_empty/file/all.yml create mode 100644 tests/results/60_0family_dynamic_empty/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_empty/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_empty/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_empty/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_jinja_number_empty/errors/all.json create mode 100644 tests/results/60_0family_dynamic_jinja_number_empty/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_jinja_number_empty/file/all.yml create mode 100644 tests/results/60_0family_dynamic_jinja_number_empty/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_jinja_number_empty/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_jinja_number_empty/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_jinja_number_empty/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_no_description/errors/all.json create mode 100644 tests/results/60_0family_dynamic_no_description/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_no_description/file/all.yml create mode 100644 tests/results/60_0family_dynamic_no_description/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_no_description/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_no_description/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_no_description/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_no_description_empty/errors/all.json create mode 100644 tests/results/60_0family_dynamic_no_description_empty/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_no_description_empty/file/all.yml create mode 100644 tests/results/60_0family_dynamic_no_description_empty/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_no_description_empty/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_no_description_empty/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_no_description_empty/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_test/errors/all.json create mode 100644 tests/results/60_0family_dynamic_test/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_test/file/all.yml create mode 100644 tests/results/60_0family_dynamic_test/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_test/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_test/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_test/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_variable_suffix_empty/errors/all.json create mode 100644 tests/results/60_0family_dynamic_variable_suffix_empty/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_variable_suffix_empty/file/all.yml create mode 100644 tests/results/60_0family_dynamic_variable_suffix_empty/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_variable_suffix_empty/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_variable_suffix_empty/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_variable_suffix_empty/makedict/mandatories.json create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/errors/all.json create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/errors/mandatories.json create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/all.yml create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/all_exclude.yml create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/mandatories.yml create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/makedict/all.json create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/makedict/mandatories.json create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/errors/all.json create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/errors/mandatories.json create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/all.yml create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/all_exclude.yml create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/mandatories.yml create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/makedict/all.json create mode 100644 tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/makedict/mandatories.json create mode 100644 tests/results/60_2family_dynamic_outside_calc_empty/errors/all.json create mode 100644 tests/results/60_2family_dynamic_outside_calc_empty/errors/mandatories.json create mode 100644 tests/results/60_2family_dynamic_outside_calc_empty/file/all.yml create mode 100644 tests/results/60_2family_dynamic_outside_calc_empty/file/all_exclude.yml create mode 100644 tests/results/60_2family_dynamic_outside_calc_empty/file/mandatories.yml create mode 100644 tests/results/60_2family_dynamic_outside_calc_empty/makedict/all.json create mode 100644 tests/results/60_2family_dynamic_outside_calc_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc2_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_calc2_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc2_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_calc2_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_calc2_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_calc2_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_calc2_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix2_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix2_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix2_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix2_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix2_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix2_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix2_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_param_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_param_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_param_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_param_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_param_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_param_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_param_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_variable_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_calc_variable_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_variable_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_calc_variable_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_calc_variable_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_calc_variable_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_calc_variable_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_unknown_suffix_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_unknown_suffix_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_unknown_suffix_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_unknown_suffix_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_unknown_suffix_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_unknown_suffix_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_unknown_suffix_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside2/errors/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside2/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside2/file/all.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside2/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside2/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside2/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside2/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside2_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside2_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside2_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside2_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside2_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside2_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside2_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_jinja_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_jinja_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_jinja_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_jinja_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_suffix_empty/errors/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_suffix_empty/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/all.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_suffix_empty/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_suffix_empty/makedict/mandatories.json create mode 100644 tests/results/60_6family_dynamic_inside_empty/errors/all.json create mode 100644 tests/results/60_6family_dynamic_inside_empty/errors/mandatories.json create mode 100644 tests/results/60_6family_dynamic_inside_empty/file/all.yml create mode 100644 tests/results/60_6family_dynamic_inside_empty/file/all_exclude.yml create mode 100644 tests/results/60_6family_dynamic_inside_empty/file/mandatories.yml create mode 100644 tests/results/60_6family_dynamic_inside_empty/makedict/all.json create mode 100644 tests/results/60_6family_dynamic_inside_empty/makedict/mandatories.json create mode 100644 tests/results/60_6family_dynamic_leadership_empty/errors/all.json create mode 100644 tests/results/60_6family_dynamic_leadership_empty/errors/mandatories.json create mode 100644 tests/results/60_6family_dynamic_leadership_empty/file/all.yml create mode 100644 tests/results/60_6family_dynamic_leadership_empty/file/all_exclude.yml create mode 100644 tests/results/60_6family_dynamic_leadership_empty/file/mandatories.yml create mode 100644 tests/results/60_6family_dynamic_leadership_empty/makedict/all.json create mode 100644 tests/results/60_6family_dynamic_leadership_empty/makedict/mandatories.json create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_1_0/errors/all.json create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_1_0/errors/mandatories.json create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_1_0/file/all.yml create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_1_0/file/all_exclude.yml create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_1_0/file/mandatories.yml create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_1_0/makedict/all.json create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_1_0/makedict/mandatories.json create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_empty/errors/all.json create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_empty/errors/mandatories.json create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_empty/file/all.yml create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_empty/file/all_exclude.yml create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_empty/file/mandatories.yml create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_empty/makedict/all.json create mode 100644 tests/results/60_6family_dynamic_sub_dynamic_empty/makedict/mandatories.json diff --git a/README.md b/README.md index 0cb1c68..51b1645 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# rougail-user-data +# rougail-user-data-file diff --git a/src/rougail/user_data_file/__init__.py b/src/rougail/user_data_file/__init__.py index 3ef9edc..437be9d 100644 --- a/src/rougail/user_data_file/__init__.py +++ b/src/rougail/user_data_file/__init__.py @@ -41,7 +41,6 @@ class RougailUserDataFile: raise Exception(_("file is not set in step.user_data")) self.rougailconfig = rougailconfig self.filenames = self.rougailconfig["file.filename"] - self.yaml = YAML() self.config = config self.errors = [] self.warnings = [] @@ -49,26 +48,26 @@ class RougailUserDataFile: def run( self, ) -> None: + self.yaml = YAML() user_datas = [] for filename in self.filenames: - with open(filename) as fh_config: - file_values = self.yaml.load(fh_config) + file_values = self.open(filename) if not file_values: continue + values = {} if not isinstance(file_values, dict): self.errors.append( _( 'cannot load "{0}", the root value is not a dict but "{1}"' ).format(filename, file_values) ) - continue - values = {} - self.parse( - values, - "", - file_values, - filename, - ) + else: + self.parse( + values, + "", + file_values, + filename, + ) user_datas.append( { "source": _("file ({0})").format(filename), @@ -79,6 +78,10 @@ class RougailUserDataFile: ) return user_datas + def open(self, filename: str) -> dict: + with open(filename) as fh_config: + return self.yaml.load(fh_config) + def parse( self, values: dict, diff --git a/src/rougail/user_data_file/config.py b/src/rougail/user_data_file/config.py index 4741a14..c5809ef 100644 --- a/src/rougail/user_data_file/config.py +++ b/src/rougail/user_data_file/config.py @@ -33,7 +33,7 @@ file: disabled {% endif %} filename: - description: Filename with user data + description: Filename alternative_name: ff type: unix_filename multi: true diff --git a/tests/results/00_8test/file/all.yml b/tests/results/00_8test/file/all.yml index 2c31dc7..20878a2 100644 --- a/tests/results/00_8test/file/all.yml +++ b/tests/results/00_8test/file/all.yml @@ -4,3 +4,6 @@ rougail: var3: test1 var4: var5: false + var6: + - test1 + - test2 diff --git a/tests/results/00_8test/file/all_exclude.yml b/tests/results/00_8test/file/all_exclude.yml index 2c31dc7..20878a2 100644 --- a/tests/results/00_8test/file/all_exclude.yml +++ b/tests/results/00_8test/file/all_exclude.yml @@ -4,3 +4,6 @@ rougail: var3: test1 var4: var5: false + var6: + - test1 + - test2 diff --git a/tests/results/00_8test/file/mandatories.yml b/tests/results/00_8test/file/mandatories.yml index b15a5c8..e494a42 100644 --- a/tests/results/00_8test/file/mandatories.yml +++ b/tests/results/00_8test/file/mandatories.yml @@ -1,3 +1,6 @@ rougail: var1: test var3: test1 + var6: + - test1 + - test2 diff --git a/tests/results/00_8test/makedict/all.json b/tests/results/00_8test/makedict/all.json index 06f9899..8974663 100644 --- a/tests/results/00_8test/makedict/all.json +++ b/tests/results/00_8test/makedict/all.json @@ -3,5 +3,9 @@ "rougail.var2": "test", "rougail.var3": "test1", "rougail.var4": null, - "rougail.var5": false + "rougail.var5": false, + "rougail.var6": [ + "test1", + "test2" + ] } diff --git a/tests/results/00_8test/makedict/mandatories.json b/tests/results/00_8test/makedict/mandatories.json index 3ebf0da..9293282 100644 --- a/tests/results/00_8test/makedict/mandatories.json +++ b/tests/results/00_8test/makedict/mandatories.json @@ -3,5 +3,9 @@ "rougail.var2": "value", "rougail.var3": "test1", "rougail.var4": null, - "rougail.var5": true + "rougail.var5": true, + "rougail.var6": [ + "test1", + "test2" + ] } diff --git a/tests/results/01_6string_empty/file/mandatories.yml b/tests/results/01_6string_empty/file/mandatories.yml index 0967ef4..b571dbe 100644 --- a/tests/results/01_6string_empty/file/mandatories.yml +++ b/tests/results/01_6string_empty/file/mandatories.yml @@ -1 +1,5 @@ -{} +rougail: + var1: + - string1 + - string2 + - string3 diff --git a/tests/results/01_6string_empty/makedict/mandatories.json b/tests/results/01_6string_empty/makedict/mandatories.json index da414c3..51da877 100644 --- a/tests/results/01_6string_empty/makedict/mandatories.json +++ b/tests/results/01_6string_empty/makedict/mandatories.json @@ -1,6 +1,7 @@ { "rougail.var1": [ - "value", - "None" + "string1", + "string2", + "string3" ] } diff --git a/tests/results/04_0type_param/file/mandatories.yml b/tests/results/04_0type_param/file/mandatories.yml index 6f458b7..0967ef4 100644 --- a/tests/results/04_0type_param/file/mandatories.yml +++ b/tests/results/04_0type_param/file/mandatories.yml @@ -1,2 +1 @@ -rougail: - int: 1 +{} diff --git a/tests/results/04_0type_param/makedict/mandatories.json b/tests/results/04_0type_param/makedict/mandatories.json index 41030a6..5c61db9 100644 --- a/tests/results/04_0type_param/makedict/mandatories.json +++ b/tests/results/04_0type_param/makedict/mandatories.json @@ -1,3 +1,3 @@ { - "rougail.int": 1 + "rougail.int": 10 } diff --git a/tests/results/04_7validators_variable_optional/errors/all.json b/tests/results/04_1default_calculation_hidden/errors/all.json similarity index 100% rename from tests/results/04_7validators_variable_optional/errors/all.json rename to tests/results/04_1default_calculation_hidden/errors/all.json diff --git a/tests/results/04_1default_calculation_hidden/errors/mandatories.json b/tests/results/04_1default_calculation_hidden/errors/mandatories.json new file mode 100644 index 0000000..52a26db --- /dev/null +++ b/tests/results/04_1default_calculation_hidden/errors/mandatories.json @@ -0,0 +1,6 @@ +{ + "errors": [ + "cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\"" + ], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/04_1default_calculation_hidden/file/all.yml b/tests/results/04_1default_calculation_hidden/file/all.yml new file mode 100644 index 0000000..fa2650a --- /dev/null +++ b/tests/results/04_1default_calculation_hidden/file/all.yml @@ -0,0 +1,4 @@ +rougail: + var1: string1 + var2: string1 + var3: string1 diff --git a/tests/results/04_1default_calculation_hidden/file/all_exclude.yml b/tests/results/04_1default_calculation_hidden/file/all_exclude.yml new file mode 100644 index 0000000..fa2650a --- /dev/null +++ b/tests/results/04_1default_calculation_hidden/file/all_exclude.yml @@ -0,0 +1,4 @@ +rougail: + var1: string1 + var2: string1 + var3: string1 diff --git a/tests/results/04_1default_calculation_hidden/file/mandatories.yml b/tests/results/04_1default_calculation_hidden/file/mandatories.yml new file mode 100644 index 0000000..381e178 --- /dev/null +++ b/tests/results/04_1default_calculation_hidden/file/mandatories.yml @@ -0,0 +1,2 @@ +rougail: + var2: string1 diff --git a/tests/results/04_1default_calculation_hidden/makedict/all.json b/tests/results/04_1default_calculation_hidden/makedict/all.json new file mode 100644 index 0000000..2fbf52f --- /dev/null +++ b/tests/results/04_1default_calculation_hidden/makedict/all.json @@ -0,0 +1,5 @@ +{ + "rougail.var1": "string1", + "rougail.var2": "string1", + "rougail.var3": "string1" +} diff --git a/tests/results/04_1default_calculation_hidden/makedict/mandatories.json b/tests/results/04_1default_calculation_hidden/makedict/mandatories.json new file mode 100644 index 0000000..022d673 --- /dev/null +++ b/tests/results/04_1default_calculation_hidden/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": "value", + "rougail.var3": "value" +} diff --git a/tests/results/04_7validators_variable_optional/errors/mandatories.json b/tests/results/04_1default_calculation_hidden_2/errors/all.json similarity index 100% rename from tests/results/04_7validators_variable_optional/errors/mandatories.json rename to tests/results/04_1default_calculation_hidden_2/errors/all.json diff --git a/tests/results/04_1default_calculation_hidden_2/errors/mandatories.json b/tests/results/04_1default_calculation_hidden_2/errors/mandatories.json new file mode 100644 index 0000000..52a26db --- /dev/null +++ b/tests/results/04_1default_calculation_hidden_2/errors/mandatories.json @@ -0,0 +1,6 @@ +{ + "errors": [ + "cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\"" + ], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/04_1default_calculation_hidden_2/file/all.yml b/tests/results/04_1default_calculation_hidden_2/file/all.yml new file mode 100644 index 0000000..fa2650a --- /dev/null +++ b/tests/results/04_1default_calculation_hidden_2/file/all.yml @@ -0,0 +1,4 @@ +rougail: + var1: string1 + var2: string1 + var3: string1 diff --git a/tests/results/04_1default_calculation_hidden_2/file/all_exclude.yml b/tests/results/04_1default_calculation_hidden_2/file/all_exclude.yml new file mode 100644 index 0000000..fa2650a --- /dev/null +++ b/tests/results/04_1default_calculation_hidden_2/file/all_exclude.yml @@ -0,0 +1,4 @@ +rougail: + var1: string1 + var2: string1 + var3: string1 diff --git a/tests/results/04_1default_calculation_hidden_2/file/mandatories.yml b/tests/results/04_1default_calculation_hidden_2/file/mandatories.yml new file mode 100644 index 0000000..cd9e4da --- /dev/null +++ b/tests/results/04_1default_calculation_hidden_2/file/mandatories.yml @@ -0,0 +1,3 @@ +rougail: + var2: string1 + var3: string1 diff --git a/tests/results/04_1default_calculation_hidden_2/makedict/all.json b/tests/results/04_1default_calculation_hidden_2/makedict/all.json new file mode 100644 index 0000000..2fbf52f --- /dev/null +++ b/tests/results/04_1default_calculation_hidden_2/makedict/all.json @@ -0,0 +1,5 @@ +{ + "rougail.var1": "string1", + "rougail.var2": "string1", + "rougail.var3": "string1" +} diff --git a/tests/results/04_1default_calculation_hidden_2/makedict/mandatories.json b/tests/results/04_1default_calculation_hidden_2/makedict/mandatories.json new file mode 100644 index 0000000..86d3453 --- /dev/null +++ b/tests/results/04_1default_calculation_hidden_2/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": "value", + "rougail.var3": "string1" +} diff --git a/tests/results/24_7validators_variable_optional/errors/all.json b/tests/results/24_7validators_variable_optional/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/24_7validators_variable_optional/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/24_7validators_variable_optional/errors/mandatories.json b/tests/results/24_7validators_variable_optional/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/24_7validators_variable_optional/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/04_7validators_variable_optional/file/all.yml b/tests/results/24_7validators_variable_optional/file/all.yml similarity index 100% rename from tests/results/04_7validators_variable_optional/file/all.yml rename to tests/results/24_7validators_variable_optional/file/all.yml diff --git a/tests/results/04_7validators_variable_optional/file/all_exclude.yml b/tests/results/24_7validators_variable_optional/file/all_exclude.yml similarity index 100% rename from tests/results/04_7validators_variable_optional/file/all_exclude.yml rename to tests/results/24_7validators_variable_optional/file/all_exclude.yml diff --git a/tests/results/04_7validators_variable_optional/file/mandatories.yml b/tests/results/24_7validators_variable_optional/file/mandatories.yml similarity index 100% rename from tests/results/04_7validators_variable_optional/file/mandatories.yml rename to tests/results/24_7validators_variable_optional/file/mandatories.yml diff --git a/tests/results/04_7validators_variable_optional/makedict/all.json b/tests/results/24_7validators_variable_optional/makedict/all.json similarity index 100% rename from tests/results/04_7validators_variable_optional/makedict/all.json rename to tests/results/24_7validators_variable_optional/makedict/all.json diff --git a/tests/results/04_7validators_variable_optional/makedict/mandatories.json b/tests/results/24_7validators_variable_optional/makedict/mandatories.json similarity index 100% rename from tests/results/04_7validators_variable_optional/makedict/mandatories.json rename to tests/results/24_7validators_variable_optional/makedict/mandatories.json diff --git a/tests/results/24_family_disabled_var_hidden/errors/mandatories.json b/tests/results/24_family_disabled_var_hidden/errors/mandatories.json index 217db0a..a5a58d4 100644 --- a/tests/results/24_family_disabled_var_hidden/errors/mandatories.json +++ b/tests/results/24_family_disabled_var_hidden/errors/mandatories.json @@ -1,4 +1,6 @@ { - "errors": [], + "errors": [ + "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"" + ], "warnings": [] } \ No newline at end of file diff --git a/tests/results/24_family_disabled_var_hidden/file/mandatories.yml b/tests/results/24_family_disabled_var_hidden/file/mandatories.yml index 0967ef4..4f11505 100644 --- a/tests/results/24_family_disabled_var_hidden/file/mandatories.yml +++ b/tests/results/24_family_disabled_var_hidden/file/mandatories.yml @@ -1 +1,3 @@ -{} +rougail: + family: + var2: string1 diff --git a/tests/results/40_0leadership/file/all.yml b/tests/results/40_0leadership/file/all.yml index 1693505..7b81149 100644 --- a/tests/results/40_0leadership/file/all.yml +++ b/tests/results/40_0leadership/file/all.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership/file/all_exclude.yml b/tests/results/40_0leadership/file/all_exclude.yml index 1693505..7b81149 100644 --- a/tests/results/40_0leadership/file/all_exclude.yml +++ b/tests/results/40_0leadership/file/all_exclude.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership/file/mandatories.yml b/tests/results/40_0leadership/file/mandatories.yml index 1693505..7b81149 100644 --- a/tests/results/40_0leadership/file/mandatories.yml +++ b/tests/results/40_0leadership/file/mandatories.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership/makedict/all.json b/tests/results/40_0leadership/makedict/all.json index 9b97426..c5ca597 100644 --- a/tests/results/40_0leadership/makedict/all.json +++ b/tests/results/40_0leadership/makedict/all.json @@ -7,13 +7,13 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string3", + "rougail.leader.follower2": "string3" } ] } diff --git a/tests/results/40_0leadership/makedict/mandatories.json b/tests/results/40_0leadership/makedict/mandatories.json index 9b97426..c5ca597 100644 --- a/tests/results/40_0leadership/makedict/mandatories.json +++ b/tests/results/40_0leadership/makedict/mandatories.json @@ -7,13 +7,13 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string3", + "rougail.leader.follower2": "string3" } ] } diff --git a/tests/results/40_0leadership_diff_name/file/all.yml b/tests/results/40_0leadership_diff_name/file/all.yml index 087e16b..2740c22 100644 --- a/tests/results/40_0leadership_diff_name/file/all.yml +++ b/tests/results/40_0leadership_diff_name/file/all.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership_diff_name/file/all_exclude.yml b/tests/results/40_0leadership_diff_name/file/all_exclude.yml index 087e16b..2740c22 100644 --- a/tests/results/40_0leadership_diff_name/file/all_exclude.yml +++ b/tests/results/40_0leadership_diff_name/file/all_exclude.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership_diff_name/file/mandatories.yml b/tests/results/40_0leadership_diff_name/file/mandatories.yml index 087e16b..2740c22 100644 --- a/tests/results/40_0leadership_diff_name/file/mandatories.yml +++ b/tests/results/40_0leadership_diff_name/file/mandatories.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership_diff_name/makedict/all.json b/tests/results/40_0leadership_diff_name/makedict/all.json index a43495f..13e327f 100644 --- a/tests/results/40_0leadership_diff_name/makedict/all.json +++ b/tests/results/40_0leadership_diff_name/makedict/all.json @@ -7,13 +7,13 @@ }, { "rougail.leadership.leader": "string2", - "rougail.leadership.follower1": "string1", - "rougail.leadership.follower2": "string1" + "rougail.leadership.follower1": "string2", + "rougail.leadership.follower2": "string2" }, { "rougail.leadership.leader": "string3", - "rougail.leadership.follower1": "string1", - "rougail.leadership.follower2": "string1" + "rougail.leadership.follower1": "string3", + "rougail.leadership.follower2": "string3" } ] } diff --git a/tests/results/40_0leadership_diff_name/makedict/mandatories.json b/tests/results/40_0leadership_diff_name/makedict/mandatories.json index a43495f..13e327f 100644 --- a/tests/results/40_0leadership_diff_name/makedict/mandatories.json +++ b/tests/results/40_0leadership_diff_name/makedict/mandatories.json @@ -7,13 +7,13 @@ }, { "rougail.leadership.leader": "string2", - "rougail.leadership.follower1": "string1", - "rougail.leadership.follower2": "string1" + "rougail.leadership.follower1": "string2", + "rougail.leadership.follower2": "string2" }, { "rougail.leadership.leader": "string3", - "rougail.leadership.follower1": "string1", - "rougail.leadership.follower2": "string1" + "rougail.leadership.follower1": "string3", + "rougail.leadership.follower2": "string3" } ] } diff --git a/tests/results/40_0leadership_follower_default_calculation/file/all.yml b/tests/results/40_0leadership_follower_default_calculation/file/all.yml index 1693505..7b81149 100644 --- a/tests/results/40_0leadership_follower_default_calculation/file/all.yml +++ b/tests/results/40_0leadership_follower_default_calculation/file/all.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership_follower_default_calculation/file/all_exclude.yml b/tests/results/40_0leadership_follower_default_calculation/file/all_exclude.yml index 1693505..7b81149 100644 --- a/tests/results/40_0leadership_follower_default_calculation/file/all_exclude.yml +++ b/tests/results/40_0leadership_follower_default_calculation/file/all_exclude.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership_follower_default_calculation/makedict/all.json b/tests/results/40_0leadership_follower_default_calculation/makedict/all.json index 9b97426..c5ca597 100644 --- a/tests/results/40_0leadership_follower_default_calculation/makedict/all.json +++ b/tests/results/40_0leadership_follower_default_calculation/makedict/all.json @@ -7,13 +7,13 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string3", + "rougail.leader.follower2": "string3" } ] } diff --git a/tests/results/40_0leadership_follower_default_value/file/all.yml b/tests/results/40_0leadership_follower_default_value/file/all.yml index 4dc2d76..9fc708a 100644 --- a/tests/results/40_0leadership_follower_default_value/file/all.yml +++ b/tests/results/40_0leadership_follower_default_value/file/all.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: string1 - leader: string2 - follower1: string1 + follower1: string2 - leader: string3 - follower1: string1 + follower1: string3 diff --git a/tests/results/40_0leadership_follower_default_value/file/all_exclude.yml b/tests/results/40_0leadership_follower_default_value/file/all_exclude.yml index 4dc2d76..9fc708a 100644 --- a/tests/results/40_0leadership_follower_default_value/file/all_exclude.yml +++ b/tests/results/40_0leadership_follower_default_value/file/all_exclude.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: string1 - leader: string2 - follower1: string1 + follower1: string2 - leader: string3 - follower1: string1 + follower1: string3 diff --git a/tests/results/40_0leadership_follower_default_value/makedict/all.json b/tests/results/40_0leadership_follower_default_value/makedict/all.json index eeb82a4..f5b9128 100644 --- a/tests/results/40_0leadership_follower_default_value/makedict/all.json +++ b/tests/results/40_0leadership_follower_default_value/makedict/all.json @@ -6,11 +6,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1" + "rougail.leader.follower1": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1" + "rougail.leader.follower1": "string3" } ] } diff --git a/tests/results/40_0leadership_leader_not_multi/file/all.yml b/tests/results/40_0leadership_leader_not_multi/file/all.yml index 726452e..520c3fb 100644 --- a/tests/results/40_0leadership_leader_not_multi/file/all.yml +++ b/tests/results/40_0leadership_leader_not_multi/file/all.yml @@ -7,8 +7,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership_leader_not_multi/file/all_exclude.yml b/tests/results/40_0leadership_leader_not_multi/file/all_exclude.yml index 726452e..520c3fb 100644 --- a/tests/results/40_0leadership_leader_not_multi/file/all_exclude.yml +++ b/tests/results/40_0leadership_leader_not_multi/file/all_exclude.yml @@ -7,8 +7,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership_leader_not_multi/file/mandatories.yml b/tests/results/40_0leadership_leader_not_multi/file/mandatories.yml index e554fc1..5718e26 100644 --- a/tests/results/40_0leadership_leader_not_multi/file/mandatories.yml +++ b/tests/results/40_0leadership_leader_not_multi/file/mandatories.yml @@ -5,8 +5,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_0leadership_leader_not_multi/makedict/all.json b/tests/results/40_0leadership_leader_not_multi/makedict/all.json index 3f95591..e4940d7 100644 --- a/tests/results/40_0leadership_leader_not_multi/makedict/all.json +++ b/tests/results/40_0leadership_leader_not_multi/makedict/all.json @@ -8,13 +8,13 @@ }, { "rougail.general1.leader.leader": "string2", - "rougail.general1.leader.follower1": "string1", - "rougail.general1.leader.follower2": "string1" + "rougail.general1.leader.follower1": "string2", + "rougail.general1.leader.follower2": "string2" }, { "rougail.general1.leader.leader": "string3", - "rougail.general1.leader.follower1": "string1", - "rougail.general1.leader.follower2": "string1" + "rougail.general1.leader.follower1": "string3", + "rougail.general1.leader.follower2": "string3" } ] } diff --git a/tests/results/40_0leadership_leader_not_multi/makedict/mandatories.json b/tests/results/40_0leadership_leader_not_multi/makedict/mandatories.json index 0d0b5ff..20bc0f5 100644 --- a/tests/results/40_0leadership_leader_not_multi/makedict/mandatories.json +++ b/tests/results/40_0leadership_leader_not_multi/makedict/mandatories.json @@ -8,13 +8,13 @@ }, { "rougail.general1.leader.leader": "string2", - "rougail.general1.leader.follower1": "string1", - "rougail.general1.leader.follower2": "string1" + "rougail.general1.leader.follower1": "string2", + "rougail.general1.leader.follower2": "string2" }, { "rougail.general1.leader.leader": "string3", - "rougail.general1.leader.follower1": "string1", - "rougail.general1.leader.follower2": "string1" + "rougail.general1.leader.follower1": "string3", + "rougail.general1.leader.follower2": "string3" } ] } diff --git a/tests/results/40_1leadership_append_follower/file/all.yml b/tests/results/40_1leadership_append_follower/file/all.yml index 3fe297f..457c653 100644 --- a/tests/results/40_1leadership_append_follower/file/all.yml +++ b/tests/results/40_1leadership_append_follower/file/all.yml @@ -5,10 +5,10 @@ rougail: follower2: string1 follower3: string1 - leader: string2 - follower1: string1 - follower2: string1 - follower3: string1 + follower1: string2 + follower2: string2 + follower3: string2 - leader: string3 - follower1: string1 - follower2: string1 - follower3: string1 + follower1: string3 + follower2: string3 + follower3: string3 diff --git a/tests/results/40_1leadership_append_follower/file/all_exclude.yml b/tests/results/40_1leadership_append_follower/file/all_exclude.yml index 3fe297f..457c653 100644 --- a/tests/results/40_1leadership_append_follower/file/all_exclude.yml +++ b/tests/results/40_1leadership_append_follower/file/all_exclude.yml @@ -5,10 +5,10 @@ rougail: follower2: string1 follower3: string1 - leader: string2 - follower1: string1 - follower2: string1 - follower3: string1 + follower1: string2 + follower2: string2 + follower3: string2 - leader: string3 - follower1: string1 - follower2: string1 - follower3: string1 + follower1: string3 + follower2: string3 + follower3: string3 diff --git a/tests/results/40_1leadership_append_follower/file/mandatories.yml b/tests/results/40_1leadership_append_follower/file/mandatories.yml index 3fe297f..457c653 100644 --- a/tests/results/40_1leadership_append_follower/file/mandatories.yml +++ b/tests/results/40_1leadership_append_follower/file/mandatories.yml @@ -5,10 +5,10 @@ rougail: follower2: string1 follower3: string1 - leader: string2 - follower1: string1 - follower2: string1 - follower3: string1 + follower1: string2 + follower2: string2 + follower3: string2 - leader: string3 - follower1: string1 - follower2: string1 - follower3: string1 + follower1: string3 + follower2: string3 + follower3: string3 diff --git a/tests/results/40_1leadership_append_follower/makedict/all.json b/tests/results/40_1leadership_append_follower/makedict/all.json index 9c833e1..1243833 100644 --- a/tests/results/40_1leadership_append_follower/makedict/all.json +++ b/tests/results/40_1leadership_append_follower/makedict/all.json @@ -8,15 +8,15 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1", - "rougail.leader.follower3": "string1" + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2", + "rougail.leader.follower3": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1", - "rougail.leader.follower3": "string1" + "rougail.leader.follower1": "string3", + "rougail.leader.follower2": "string3", + "rougail.leader.follower3": "string3" } ] } diff --git a/tests/results/40_1leadership_append_follower/makedict/mandatories.json b/tests/results/40_1leadership_append_follower/makedict/mandatories.json index 9c833e1..1243833 100644 --- a/tests/results/40_1leadership_append_follower/makedict/mandatories.json +++ b/tests/results/40_1leadership_append_follower/makedict/mandatories.json @@ -8,15 +8,15 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1", - "rougail.leader.follower3": "string1" + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2", + "rougail.leader.follower3": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1", - "rougail.leader.follower3": "string1" + "rougail.leader.follower1": "string3", + "rougail.leader.follower2": "string3", + "rougail.leader.follower3": "string3" } ] } diff --git a/tests/results/40_2leadership_calculation_index/file/all.yml b/tests/results/40_2leadership_calculation_index/file/all.yml index 9b2e0a7..f2d50f6 100644 --- a/tests/results/40_2leadership_calculation_index/file/all.yml +++ b/tests/results/40_2leadership_calculation_index/file/all.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: 1 - leader: string2 - follower1: 1 + follower1: 2 - leader: string3 - follower1: 1 + follower1: 3 diff --git a/tests/results/40_2leadership_calculation_index/file/all_exclude.yml b/tests/results/40_2leadership_calculation_index/file/all_exclude.yml index 9b2e0a7..f2d50f6 100644 --- a/tests/results/40_2leadership_calculation_index/file/all_exclude.yml +++ b/tests/results/40_2leadership_calculation_index/file/all_exclude.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: 1 - leader: string2 - follower1: 1 + follower1: 2 - leader: string3 - follower1: 1 + follower1: 3 diff --git a/tests/results/40_2leadership_calculation_index/makedict/all.json b/tests/results/40_2leadership_calculation_index/makedict/all.json index 0bc0df0..3da001d 100644 --- a/tests/results/40_2leadership_calculation_index/makedict/all.json +++ b/tests/results/40_2leadership_calculation_index/makedict/all.json @@ -6,11 +6,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": 1 + "rougail.leader.follower1": 2 }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": 1 + "rougail.leader.follower1": 3 } ] } diff --git a/tests/results/40_2leadership_calculation_param_index/file/all.yml b/tests/results/40_2leadership_calculation_param_index/file/all.yml index 9b2e0a7..f2d50f6 100644 --- a/tests/results/40_2leadership_calculation_param_index/file/all.yml +++ b/tests/results/40_2leadership_calculation_param_index/file/all.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: 1 - leader: string2 - follower1: 1 + follower1: 2 - leader: string3 - follower1: 1 + follower1: 3 diff --git a/tests/results/40_2leadership_calculation_param_index/file/all_exclude.yml b/tests/results/40_2leadership_calculation_param_index/file/all_exclude.yml index 9b2e0a7..f2d50f6 100644 --- a/tests/results/40_2leadership_calculation_param_index/file/all_exclude.yml +++ b/tests/results/40_2leadership_calculation_param_index/file/all_exclude.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: 1 - leader: string2 - follower1: 1 + follower1: 2 - leader: string3 - follower1: 1 + follower1: 3 diff --git a/tests/results/40_2leadership_calculation_param_index/makedict/all.json b/tests/results/40_2leadership_calculation_param_index/makedict/all.json index 0bc0df0..3da001d 100644 --- a/tests/results/40_2leadership_calculation_param_index/makedict/all.json +++ b/tests/results/40_2leadership_calculation_param_index/makedict/all.json @@ -6,11 +6,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": 1 + "rougail.leader.follower1": 2 }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": 1 + "rougail.leader.follower1": 3 } ] } diff --git a/tests/results/40_2leadership_leader_calculation/file/all.yml b/tests/results/40_2leadership_leader_calculation/file/all.yml index 1693505..7b81149 100644 --- a/tests/results/40_2leadership_leader_calculation/file/all.yml +++ b/tests/results/40_2leadership_leader_calculation/file/all.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_2leadership_leader_calculation/file/all_exclude.yml b/tests/results/40_2leadership_leader_calculation/file/all_exclude.yml index 1693505..7b81149 100644 --- a/tests/results/40_2leadership_leader_calculation/file/all_exclude.yml +++ b/tests/results/40_2leadership_leader_calculation/file/all_exclude.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/40_2leadership_leader_calculation/file/mandatories.yml b/tests/results/40_2leadership_leader_calculation/file/mandatories.yml index 6e9f389..b325c35 100644 --- a/tests/results/40_2leadership_leader_calculation/file/mandatories.yml +++ b/tests/results/40_2leadership_leader_calculation/file/mandatories.yml @@ -2,5 +2,5 @@ rougail: leader: - follower1: string1 follower2: string1 - - follower1: string1 - follower2: string1 + - follower1: string2 + follower2: string2 diff --git a/tests/results/40_2leadership_leader_calculation/makedict/all.json b/tests/results/40_2leadership_leader_calculation/makedict/all.json index 9b97426..c5ca597 100644 --- a/tests/results/40_2leadership_leader_calculation/makedict/all.json +++ b/tests/results/40_2leadership_leader_calculation/makedict/all.json @@ -7,13 +7,13 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string3", + "rougail.leader.follower2": "string3" } ] } diff --git a/tests/results/40_2leadership_leader_calculation/makedict/mandatories.json b/tests/results/40_2leadership_leader_calculation/makedict/mandatories.json index 34f7381..1f3518a 100644 --- a/tests/results/40_2leadership_leader_calculation/makedict/mandatories.json +++ b/tests/results/40_2leadership_leader_calculation/makedict/mandatories.json @@ -7,8 +7,8 @@ }, { "rougail.leader.leader": "val2", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2" } ] } diff --git a/tests/results/41_0choice_leader/file/all.yml b/tests/results/41_0choice_leader/file/all.yml index d1ea33f..86957d7 100644 --- a/tests/results/41_0choice_leader/file/all.yml +++ b/tests/results/41_0choice_leader/file/all.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: a - leader: string2 - follower1: a + follower1: b - leader: string3 - follower1: a + follower1: c diff --git a/tests/results/41_0choice_leader/file/all_exclude.yml b/tests/results/41_0choice_leader/file/all_exclude.yml index d1ea33f..86957d7 100644 --- a/tests/results/41_0choice_leader/file/all_exclude.yml +++ b/tests/results/41_0choice_leader/file/all_exclude.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: a - leader: string2 - follower1: a + follower1: b - leader: string3 - follower1: a + follower1: c diff --git a/tests/results/41_0choice_leader/makedict/all.json b/tests/results/41_0choice_leader/makedict/all.json index f21229d..1e05def 100644 --- a/tests/results/41_0choice_leader/makedict/all.json +++ b/tests/results/41_0choice_leader/makedict/all.json @@ -6,11 +6,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "a" + "rougail.leader.follower1": "b" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "a" + "rougail.leader.follower1": "c" } ] } diff --git a/tests/results/44_4disabled_calcultion_follower/file/all.yml b/tests/results/44_4disabled_calcultion_follower/file/all.yml index 9b40b0e..805bc3e 100644 --- a/tests/results/44_4disabled_calcultion_follower/file/all.yml +++ b/tests/results/44_4disabled_calcultion_follower/file/all.yml @@ -4,6 +4,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_4disabled_calcultion_follower/file/all_exclude.yml b/tests/results/44_4disabled_calcultion_follower/file/all_exclude.yml index 9b40b0e..805bc3e 100644 --- a/tests/results/44_4disabled_calcultion_follower/file/all_exclude.yml +++ b/tests/results/44_4disabled_calcultion_follower/file/all_exclude.yml @@ -4,6 +4,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_4disabled_calcultion_follower/makedict/all.json b/tests/results/44_4disabled_calcultion_follower/makedict/all.json index 9f73389..373427a 100644 --- a/tests/results/44_4disabled_calcultion_follower/makedict/all.json +++ b/tests/results/44_4disabled_calcultion_follower/makedict/all.json @@ -7,11 +7,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string3" } ] } diff --git a/tests/results/44_4leadership_mandatory/file/all.yml b/tests/results/44_4leadership_mandatory/file/all.yml index 4dc2d76..9fc708a 100644 --- a/tests/results/44_4leadership_mandatory/file/all.yml +++ b/tests/results/44_4leadership_mandatory/file/all.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: string1 - leader: string2 - follower1: string1 + follower1: string2 - leader: string3 - follower1: string1 + follower1: string3 diff --git a/tests/results/44_4leadership_mandatory/file/all_exclude.yml b/tests/results/44_4leadership_mandatory/file/all_exclude.yml index 4dc2d76..9fc708a 100644 --- a/tests/results/44_4leadership_mandatory/file/all_exclude.yml +++ b/tests/results/44_4leadership_mandatory/file/all_exclude.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower1: string1 - leader: string2 - follower1: string1 + follower1: string2 - leader: string3 - follower1: string1 + follower1: string3 diff --git a/tests/results/44_4leadership_mandatory/makedict/all.json b/tests/results/44_4leadership_mandatory/makedict/all.json index eeb82a4..f5b9128 100644 --- a/tests/results/44_4leadership_mandatory/makedict/all.json +++ b/tests/results/44_4leadership_mandatory/makedict/all.json @@ -6,11 +6,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1" + "rougail.leader.follower1": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1" + "rougail.leader.follower1": "string3" } ] } diff --git a/tests/results/44_4leadership_mandatory_follower/file/all.yml b/tests/results/44_4leadership_mandatory_follower/file/all.yml index 979046b..caa2456 100644 --- a/tests/results/44_4leadership_mandatory_follower/file/all.yml +++ b/tests/results/44_4leadership_mandatory_follower/file/all.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_4leadership_mandatory_follower/file/all_exclude.yml b/tests/results/44_4leadership_mandatory_follower/file/all_exclude.yml index 979046b..caa2456 100644 --- a/tests/results/44_4leadership_mandatory_follower/file/all_exclude.yml +++ b/tests/results/44_4leadership_mandatory_follower/file/all_exclude.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_4leadership_mandatory_follower/makedict/all.json b/tests/results/44_4leadership_mandatory_follower/makedict/all.json index cb6b7da..91a211e 100644 --- a/tests/results/44_4leadership_mandatory_follower/makedict/all.json +++ b/tests/results/44_4leadership_mandatory_follower/makedict/all.json @@ -6,11 +6,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string3" } ] } diff --git a/tests/results/44_5leadership_leader_hidden_calculation/file/all.yml b/tests/results/44_5leadership_leader_hidden_calculation/file/all.yml index 607846b..f51ad79 100644 --- a/tests/results/44_5leadership_leader_hidden_calculation/file/all.yml +++ b/tests/results/44_5leadership_leader_hidden_calculation/file/all.yml @@ -4,6 +4,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_5leadership_leader_hidden_calculation/file/all_exclude.yml b/tests/results/44_5leadership_leader_hidden_calculation/file/all_exclude.yml index 607846b..f51ad79 100644 --- a/tests/results/44_5leadership_leader_hidden_calculation/file/all_exclude.yml +++ b/tests/results/44_5leadership_leader_hidden_calculation/file/all_exclude.yml @@ -4,6 +4,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_5leadership_leader_hidden_calculation/makedict/all.json b/tests/results/44_5leadership_leader_hidden_calculation/makedict/all.json index 87589e9..ee7fdf2 100644 --- a/tests/results/44_5leadership_leader_hidden_calculation/makedict/all.json +++ b/tests/results/44_5leadership_leader_hidden_calculation/makedict/all.json @@ -7,11 +7,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string3" } ] } diff --git a/tests/results/44_6leadership_follower_disabled_calculation/file/all.yml b/tests/results/44_6leadership_follower_disabled_calculation/file/all.yml index 607846b..f51ad79 100644 --- a/tests/results/44_6leadership_follower_disabled_calculation/file/all.yml +++ b/tests/results/44_6leadership_follower_disabled_calculation/file/all.yml @@ -4,6 +4,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_6leadership_follower_disabled_calculation/file/all_exclude.yml b/tests/results/44_6leadership_follower_disabled_calculation/file/all_exclude.yml index 607846b..f51ad79 100644 --- a/tests/results/44_6leadership_follower_disabled_calculation/file/all_exclude.yml +++ b/tests/results/44_6leadership_follower_disabled_calculation/file/all_exclude.yml @@ -4,6 +4,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_6leadership_follower_disabled_calculation/file/mandatories.yml b/tests/results/44_6leadership_follower_disabled_calculation/file/mandatories.yml index 979046b..caa2456 100644 --- a/tests/results/44_6leadership_follower_disabled_calculation/file/mandatories.yml +++ b/tests/results/44_6leadership_follower_disabled_calculation/file/mandatories.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_6leadership_follower_disabled_calculation/makedict/all.json b/tests/results/44_6leadership_follower_disabled_calculation/makedict/all.json index 87589e9..ee7fdf2 100644 --- a/tests/results/44_6leadership_follower_disabled_calculation/makedict/all.json +++ b/tests/results/44_6leadership_follower_disabled_calculation/makedict/all.json @@ -7,11 +7,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string3" } ] } diff --git a/tests/results/44_9calculated_default_leadership_leader/file/all.yml b/tests/results/44_9calculated_default_leadership_leader/file/all.yml index 979046b..caa2456 100644 --- a/tests/results/44_9calculated_default_leadership_leader/file/all.yml +++ b/tests/results/44_9calculated_default_leadership_leader/file/all.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_9calculated_default_leadership_leader/file/all_exclude.yml b/tests/results/44_9calculated_default_leadership_leader/file/all_exclude.yml index 979046b..caa2456 100644 --- a/tests/results/44_9calculated_default_leadership_leader/file/all_exclude.yml +++ b/tests/results/44_9calculated_default_leadership_leader/file/all_exclude.yml @@ -3,6 +3,6 @@ rougail: - leader: string1 follower: string1 - leader: string2 - follower: string1 + follower: string2 - leader: string3 - follower: string1 + follower: string3 diff --git a/tests/results/44_9calculated_default_leadership_leader/makedict/all.json b/tests/results/44_9calculated_default_leadership_leader/makedict/all.json index cb6b7da..91a211e 100644 --- a/tests/results/44_9calculated_default_leadership_leader/makedict/all.json +++ b/tests/results/44_9calculated_default_leadership_leader/makedict/all.json @@ -6,11 +6,11 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower": "string1" + "rougail.leader.follower": "string3" } ] } diff --git a/tests/results/60_0family_dynamic/file/all_exclude.yml b/tests/results/60_0family_dynamic/file/all_exclude.yml index aa19241..b244364 100644 --- a/tests/results/60_0family_dynamic/file/all_exclude.yml +++ b/tests/results/60_0family_dynamic/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: var: string1 dynstring2: diff --git a/tests/results/60_0family_dynamic_1_0/file/all_exclude.yml b/tests/results/60_0family_dynamic_1_0/file/all_exclude.yml index 4e3c4c1..9cefe3c 100644 --- a/tests/results/60_0family_dynamic_1_0/file/all_exclude.yml +++ b/tests/results/60_0family_dynamic_1_0/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: vardyn: string1 dynstring2: diff --git a/tests/results/60_0family_dynamic_1_0_empty/errors/all.json b/tests/results/60_0family_dynamic_1_0_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_1_0_empty/errors/mandatories.json b/tests/results/60_0family_dynamic_1_0_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_1_0_empty/file/all.yml b/tests/results/60_0family_dynamic_1_0_empty/file/all.yml new file mode 100644 index 0000000..3dce9e7 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_empty/file/all.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + vardyn: string1 + dynval2: + vardyn: string1 diff --git a/tests/results/60_0family_dynamic_1_0_empty/file/all_exclude.yml b/tests/results/60_0family_dynamic_1_0_empty/file/all_exclude.yml new file mode 100644 index 0000000..54908a5 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_empty/file/all_exclude.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + vardyn: string1 + dynval2: + vardyn: string1 diff --git a/tests/results/60_0family_dynamic_1_0_empty/file/mandatories.yml b/tests/results/60_0family_dynamic_1_0_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_0family_dynamic_1_0_empty/makedict/all.json b/tests/results/60_0family_dynamic_1_0_empty/makedict/all.json new file mode 100644 index 0000000..23404d1 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_empty/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.vardyn": "string1", + "rougail.dynval2.vardyn": "string1" +} diff --git a/tests/results/60_0family_dynamic_1_0_empty/makedict/mandatories.json b/tests/results/60_0family_dynamic_1_0_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_0family_dynamic_1_0_type/file/all_exclude.yml b/tests/results/60_0family_dynamic_1_0_type/file/all_exclude.yml index 4e3c4c1..9cefe3c 100644 --- a/tests/results/60_0family_dynamic_1_0_type/file/all_exclude.yml +++ b/tests/results/60_0family_dynamic_1_0_type/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: vardyn: string1 dynstring2: diff --git a/tests/results/60_0family_dynamic_1_0_type_empty/errors/all.json b/tests/results/60_0family_dynamic_1_0_type_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_type_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_1_0_type_empty/errors/mandatories.json b/tests/results/60_0family_dynamic_1_0_type_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_type_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_1_0_type_empty/file/all.yml b/tests/results/60_0family_dynamic_1_0_type_empty/file/all.yml new file mode 100644 index 0000000..3dce9e7 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_type_empty/file/all.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + vardyn: string1 + dynval2: + vardyn: string1 diff --git a/tests/results/60_0family_dynamic_1_0_type_empty/file/all_exclude.yml b/tests/results/60_0family_dynamic_1_0_type_empty/file/all_exclude.yml new file mode 100644 index 0000000..54908a5 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_type_empty/file/all_exclude.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + vardyn: string1 + dynval2: + vardyn: string1 diff --git a/tests/results/60_0family_dynamic_1_0_type_empty/file/mandatories.yml b/tests/results/60_0family_dynamic_1_0_type_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_type_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_0family_dynamic_1_0_type_empty/makedict/all.json b/tests/results/60_0family_dynamic_1_0_type_empty/makedict/all.json new file mode 100644 index 0000000..23404d1 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_type_empty/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.vardyn": "string1", + "rougail.dynval2.vardyn": "string1" +} diff --git a/tests/results/60_0family_dynamic_1_0_type_empty/makedict/mandatories.json b/tests/results/60_0family_dynamic_1_0_type_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_0_type_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_0family_dynamic_1_1/file/all_exclude.yml b/tests/results/60_0family_dynamic_1_1/file/all_exclude.yml index 4e3c4c1..9cefe3c 100644 --- a/tests/results/60_0family_dynamic_1_1/file/all_exclude.yml +++ b/tests/results/60_0family_dynamic_1_1/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: vardyn: string1 dynstring2: diff --git a/tests/results/60_0family_dynamic_1_1_empty/errors/all.json b/tests/results/60_0family_dynamic_1_1_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_1_1_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_1_1_empty/errors/mandatories.json b/tests/results/60_0family_dynamic_1_1_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_1_1_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_1_1_empty/file/all.yml b/tests/results/60_0family_dynamic_1_1_empty/file/all.yml new file mode 100644 index 0000000..3dce9e7 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_1_empty/file/all.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + vardyn: string1 + dynval2: + vardyn: string1 diff --git a/tests/results/60_0family_dynamic_1_1_empty/file/all_exclude.yml b/tests/results/60_0family_dynamic_1_1_empty/file/all_exclude.yml new file mode 100644 index 0000000..54908a5 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_1_empty/file/all_exclude.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + vardyn: string1 + dynval2: + vardyn: string1 diff --git a/tests/results/60_0family_dynamic_1_1_empty/file/mandatories.yml b/tests/results/60_0family_dynamic_1_1_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_1_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_0family_dynamic_1_1_empty/makedict/all.json b/tests/results/60_0family_dynamic_1_1_empty/makedict/all.json new file mode 100644 index 0000000..23404d1 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_1_empty/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.vardyn": "string1", + "rougail.dynval2.vardyn": "string1" +} diff --git a/tests/results/60_0family_dynamic_1_1_empty/makedict/mandatories.json b/tests/results/60_0family_dynamic_1_1_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_0family_dynamic_1_1_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_0family_dynamic_empty/errors/all.json b/tests/results/60_0family_dynamic_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_empty/errors/mandatories.json b/tests/results/60_0family_dynamic_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_empty/file/all.yml b/tests/results/60_0family_dynamic_empty/file/all.yml new file mode 100644 index 0000000..b244364 --- /dev/null +++ b/tests/results/60_0family_dynamic_empty/file/all.yml @@ -0,0 +1,11 @@ +rougail: + var: + - string1 + - string2 + - string3 + dynstring1: + var: string1 + dynstring2: + var: string1 + dynstring3: + var: string1 diff --git a/tests/results/60_0family_dynamic_empty/file/all_exclude.yml b/tests/results/60_0family_dynamic_empty/file/all_exclude.yml new file mode 100644 index 0000000..aa19241 --- /dev/null +++ b/tests/results/60_0family_dynamic_empty/file/all_exclude.yml @@ -0,0 +1,7 @@ +rougail: + dynstring1: + var: string1 + dynstring2: + var: string1 + dynstring3: + var: string1 diff --git a/tests/results/60_0family_dynamic_empty/file/mandatories.yml b/tests/results/60_0family_dynamic_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_0family_dynamic_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_0family_dynamic_empty/makedict/all.json b/tests/results/60_0family_dynamic_empty/makedict/all.json new file mode 100644 index 0000000..9172af2 --- /dev/null +++ b/tests/results/60_0family_dynamic_empty/makedict/all.json @@ -0,0 +1,10 @@ +{ + "rougail.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynstring1.var": "string1", + "rougail.dynstring2.var": "string1", + "rougail.dynstring3.var": "string1" +} diff --git a/tests/results/60_0family_dynamic_empty/makedict/mandatories.json b/tests/results/60_0family_dynamic_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_0family_dynamic_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_0family_dynamic_jinja_number/file/all_exclude.yml b/tests/results/60_0family_dynamic_jinja_number/file/all_exclude.yml index 5ab09b1..72e55be 100644 --- a/tests/results/60_0family_dynamic_jinja_number/file/all_exclude.yml +++ b/tests/results/60_0family_dynamic_jinja_number/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - 1 + - 2 + - 3 dyn1: var: string1 dyn2: diff --git a/tests/results/60_0family_dynamic_jinja_number_empty/errors/all.json b/tests/results/60_0family_dynamic_jinja_number_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_number_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_jinja_number_empty/errors/mandatories.json b/tests/results/60_0family_dynamic_jinja_number_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_number_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_jinja_number_empty/file/all.yml b/tests/results/60_0family_dynamic_jinja_number_empty/file/all.yml new file mode 100644 index 0000000..ca46b84 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_number_empty/file/all.yml @@ -0,0 +1,9 @@ +rougail: + var: + - 1 + - 2 + dyn1: + var: string1 + dyn2: + var: string1 + var2: string1 diff --git a/tests/results/60_0family_dynamic_jinja_number_empty/file/all_exclude.yml b/tests/results/60_0family_dynamic_jinja_number_empty/file/all_exclude.yml new file mode 100644 index 0000000..20795e3 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_number_empty/file/all_exclude.yml @@ -0,0 +1,6 @@ +rougail: + dyn1: + var: string1 + dyn2: + var: string1 + var2: string1 diff --git a/tests/results/60_0family_dynamic_jinja_number_empty/file/mandatories.yml b/tests/results/60_0family_dynamic_jinja_number_empty/file/mandatories.yml new file mode 100644 index 0000000..381e178 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_number_empty/file/mandatories.yml @@ -0,0 +1,2 @@ +rougail: + var2: string1 diff --git a/tests/results/60_0family_dynamic_jinja_number_empty/makedict/all.json b/tests/results/60_0family_dynamic_jinja_number_empty/makedict/all.json new file mode 100644 index 0000000..d429469 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_number_empty/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var": [ + 1, + 2 + ], + "rougail.dyn1.var": "string1", + "rougail.dyn2.var": "string1", + "rougail.var2": "string1" +} diff --git a/tests/results/60_0family_dynamic_jinja_number_empty/makedict/mandatories.json b/tests/results/60_0family_dynamic_jinja_number_empty/makedict/mandatories.json new file mode 100644 index 0000000..f5b0199 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_number_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var": [], + "rougail.var2": "string1" +} diff --git a/tests/results/60_0family_dynamic_no_description/errors/all.json b/tests/results/60_0family_dynamic_no_description/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_no_description/errors/mandatories.json b/tests/results/60_0family_dynamic_no_description/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_no_description/file/all.yml b/tests/results/60_0family_dynamic_no_description/file/all.yml new file mode 100644 index 0000000..b244364 --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description/file/all.yml @@ -0,0 +1,11 @@ +rougail: + var: + - string1 + - string2 + - string3 + dynstring1: + var: string1 + dynstring2: + var: string1 + dynstring3: + var: string1 diff --git a/tests/results/60_0family_dynamic_no_description/file/all_exclude.yml b/tests/results/60_0family_dynamic_no_description/file/all_exclude.yml new file mode 100644 index 0000000..b244364 --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description/file/all_exclude.yml @@ -0,0 +1,11 @@ +rougail: + var: + - string1 + - string2 + - string3 + dynstring1: + var: string1 + dynstring2: + var: string1 + dynstring3: + var: string1 diff --git a/tests/results/60_0family_dynamic_no_description/file/mandatories.yml b/tests/results/60_0family_dynamic_no_description/file/mandatories.yml new file mode 100644 index 0000000..308201b --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description/file/mandatories.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_0family_dynamic_no_description/makedict/all.json b/tests/results/60_0family_dynamic_no_description/makedict/all.json new file mode 100644 index 0000000..9172af2 --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description/makedict/all.json @@ -0,0 +1,10 @@ +{ + "rougail.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynstring1.var": "string1", + "rougail.dynstring2.var": "string1", + "rougail.dynstring3.var": "string1" +} diff --git a/tests/results/60_0family_dynamic_no_description/makedict/mandatories.json b/tests/results/60_0family_dynamic_no_description/makedict/mandatories.json new file mode 100644 index 0000000..ee96b68 --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description/makedict/mandatories.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1" +} diff --git a/tests/results/60_0family_dynamic_no_description_empty/errors/all.json b/tests/results/60_0family_dynamic_no_description_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_no_description_empty/errors/mandatories.json b/tests/results/60_0family_dynamic_no_description_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_no_description_empty/file/all.yml b/tests/results/60_0family_dynamic_no_description_empty/file/all.yml new file mode 100644 index 0000000..d4372ae --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description_empty/file/all.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_0family_dynamic_no_description_empty/file/all_exclude.yml b/tests/results/60_0family_dynamic_no_description_empty/file/all_exclude.yml new file mode 100644 index 0000000..308201b --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description_empty/file/all_exclude.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_0family_dynamic_no_description_empty/file/mandatories.yml b/tests/results/60_0family_dynamic_no_description_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_0family_dynamic_no_description_empty/makedict/all.json b/tests/results/60_0family_dynamic_no_description_empty/makedict/all.json new file mode 100644 index 0000000..ee96b68 --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description_empty/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1" +} diff --git a/tests/results/60_0family_dynamic_no_description_empty/makedict/mandatories.json b/tests/results/60_0family_dynamic_no_description_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_0family_dynamic_no_description_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_0family_dynamic_test/errors/all.json b/tests/results/60_0family_dynamic_test/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_test/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_test/errors/mandatories.json b/tests/results/60_0family_dynamic_test/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_test/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_test/file/all.yml b/tests/results/60_0family_dynamic_test/file/all.yml new file mode 100644 index 0000000..d4372ae --- /dev/null +++ b/tests/results/60_0family_dynamic_test/file/all.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_0family_dynamic_test/file/all_exclude.yml b/tests/results/60_0family_dynamic_test/file/all_exclude.yml new file mode 100644 index 0000000..308201b --- /dev/null +++ b/tests/results/60_0family_dynamic_test/file/all_exclude.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_0family_dynamic_test/file/mandatories.yml b/tests/results/60_0family_dynamic_test/file/mandatories.yml new file mode 100644 index 0000000..d4372ae --- /dev/null +++ b/tests/results/60_0family_dynamic_test/file/mandatories.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_0family_dynamic_test/makedict/all.json b/tests/results/60_0family_dynamic_test/makedict/all.json new file mode 100644 index 0000000..ee96b68 --- /dev/null +++ b/tests/results/60_0family_dynamic_test/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1" +} diff --git a/tests/results/60_0family_dynamic_test/makedict/mandatories.json b/tests/results/60_0family_dynamic_test/makedict/mandatories.json new file mode 100644 index 0000000..ee96b68 --- /dev/null +++ b/tests/results/60_0family_dynamic_test/makedict/mandatories.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1" +} diff --git a/tests/results/60_0family_dynamic_variable_suffix/file/all_exclude.yml b/tests/results/60_0family_dynamic_variable_suffix/file/all_exclude.yml index aa19241..b244364 100644 --- a/tests/results/60_0family_dynamic_variable_suffix/file/all_exclude.yml +++ b/tests/results/60_0family_dynamic_variable_suffix/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: var: string1 dynstring2: diff --git a/tests/results/60_0family_dynamic_variable_suffix_empty/errors/all.json b/tests/results/60_0family_dynamic_variable_suffix_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_suffix_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_variable_suffix_empty/errors/mandatories.json b/tests/results/60_0family_dynamic_variable_suffix_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_suffix_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_variable_suffix_empty/file/all.yml b/tests/results/60_0family_dynamic_variable_suffix_empty/file/all.yml new file mode 100644 index 0000000..d4372ae --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_suffix_empty/file/all.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_0family_dynamic_variable_suffix_empty/file/all_exclude.yml b/tests/results/60_0family_dynamic_variable_suffix_empty/file/all_exclude.yml new file mode 100644 index 0000000..308201b --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_suffix_empty/file/all_exclude.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_0family_dynamic_variable_suffix_empty/file/mandatories.yml b/tests/results/60_0family_dynamic_variable_suffix_empty/file/mandatories.yml new file mode 100644 index 0000000..b06c38c --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_suffix_empty/file/mandatories.yml @@ -0,0 +1,4 @@ +rougail: + var: + - val1 + - val2 diff --git a/tests/results/60_0family_dynamic_variable_suffix_empty/makedict/all.json b/tests/results/60_0family_dynamic_variable_suffix_empty/makedict/all.json new file mode 100644 index 0000000..ee96b68 --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_suffix_empty/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1" +} diff --git a/tests/results/60_0family_dynamic_variable_suffix_empty/makedict/mandatories.json b/tests/results/60_0family_dynamic_variable_suffix_empty/makedict/mandatories.json new file mode 100644 index 0000000..f343fed --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_suffix_empty/makedict/mandatories.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "a value", + "rougail.dynval2.var": "a value" +} diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group/file/all_exclude.yml b/tests/results/60_2family_dynamic_jinja_fill_sub_group/file/all_exclude.yml index 94605ac..0c0fbf9 100644 --- a/tests/results/60_2family_dynamic_jinja_fill_sub_group/file/all_exclude.yml +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var1: + - string1 + - string2 + - string3 dynstring1: family: var: string1 diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2/file/all_exclude.yml b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2/file/all_exclude.yml index 94605ac..08ae276 100644 --- a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2/file/all_exclude.yml +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: family: var: string1 diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/errors/all.json b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/errors/mandatories.json b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/all.yml b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/all.yml new file mode 100644 index 0000000..a894d0e --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/all.yml @@ -0,0 +1,11 @@ +rougail: + var: + - val1 + - val2 + dynval1: + family: + var: string1 + dynval2: + family: + var: string1 + var2: string1 diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/all_exclude.yml b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/all_exclude.yml new file mode 100644 index 0000000..c0078e6 --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/all_exclude.yml @@ -0,0 +1,8 @@ +rougail: + dynval1: + family: + var: string1 + dynval2: + family: + var: string1 + var2: string1 diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/mandatories.yml b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/makedict/all.json b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/makedict/all.json new file mode 100644 index 0000000..5ef811d --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.family.var": "string1", + "rougail.dynval2.family.var": "string1", + "rougail.var2": "string1" +} diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/makedict/mandatories.json b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/makedict/mandatories.json new file mode 100644 index 0000000..cd9083c --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_2_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var": [], + "rougail.var2": null +} diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/errors/all.json b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/errors/mandatories.json b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/all.yml b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/all.yml new file mode 100644 index 0000000..81f67db --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/all.yml @@ -0,0 +1,11 @@ +rougail: + var1: + - val1 + - val2 + dynval1: + family: + var: string1 + dynval2: + family: + var: string1 + var2: string1 diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/all_exclude.yml b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/all_exclude.yml new file mode 100644 index 0000000..c0078e6 --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/all_exclude.yml @@ -0,0 +1,8 @@ +rougail: + dynval1: + family: + var: string1 + dynval2: + family: + var: string1 + var2: string1 diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/mandatories.yml b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/makedict/all.json b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/makedict/all.json new file mode 100644 index 0000000..2fc5ea2 --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.dynval1.family.var": "string1", + "rougail.dynval2.family.var": "string1", + "rougail.var2": "string1" +} diff --git a/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/makedict/mandatories.json b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/makedict/mandatories.json new file mode 100644 index 0000000..a20d18a --- /dev/null +++ b/tests/results/60_2family_dynamic_jinja_fill_sub_group_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": [], + "rougail.var2": null +} diff --git a/tests/results/60_2family_dynamic_outside_calc/file/all_exclude.yml b/tests/results/60_2family_dynamic_outside_calc/file/all_exclude.yml index 85a9b8d..0cdd73c 100644 --- a/tests/results/60_2family_dynamic_outside_calc/file/all_exclude.yml +++ b/tests/results/60_2family_dynamic_outside_calc/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var1: + - string1 + - string2 + - string3 dynstring1: var: string1 dynstring2: diff --git a/tests/results/60_2family_dynamic_outside_calc_empty/errors/all.json b/tests/results/60_2family_dynamic_outside_calc_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_2family_dynamic_outside_calc_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_2family_dynamic_outside_calc_empty/errors/mandatories.json b/tests/results/60_2family_dynamic_outside_calc_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_2family_dynamic_outside_calc_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_2family_dynamic_outside_calc_empty/file/all.yml b/tests/results/60_2family_dynamic_outside_calc_empty/file/all.yml new file mode 100644 index 0000000..ae6b469 --- /dev/null +++ b/tests/results/60_2family_dynamic_outside_calc_empty/file/all.yml @@ -0,0 +1,9 @@ +rougail: + var1: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 + newvar: string1 diff --git a/tests/results/60_2family_dynamic_outside_calc_empty/file/all_exclude.yml b/tests/results/60_2family_dynamic_outside_calc_empty/file/all_exclude.yml new file mode 100644 index 0000000..cd3758d --- /dev/null +++ b/tests/results/60_2family_dynamic_outside_calc_empty/file/all_exclude.yml @@ -0,0 +1,6 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 + newvar: string1 diff --git a/tests/results/60_2family_dynamic_outside_calc_empty/file/mandatories.yml b/tests/results/60_2family_dynamic_outside_calc_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_2family_dynamic_outside_calc_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_2family_dynamic_outside_calc_empty/makedict/all.json b/tests/results/60_2family_dynamic_outside_calc_empty/makedict/all.json new file mode 100644 index 0000000..797789f --- /dev/null +++ b/tests/results/60_2family_dynamic_outside_calc_empty/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1", + "rougail.newvar": "string1" +} diff --git a/tests/results/60_2family_dynamic_outside_calc_empty/makedict/mandatories.json b/tests/results/60_2family_dynamic_outside_calc_empty/makedict/mandatories.json new file mode 100644 index 0000000..5dbbc8d --- /dev/null +++ b/tests/results/60_2family_dynamic_outside_calc_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": [], + "rougail.newvar": null +} diff --git a/tests/results/60_5family_dynamic_calc2/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc2/file/all_exclude.yml index ce97450..72195c5 100644 --- a/tests/results/60_5family_dynamic_calc2/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_calc2/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 var2: string1 dynstring1: vardyn: string1 diff --git a/tests/results/60_5family_dynamic_calc2_empty/errors/all.json b/tests/results/60_5family_dynamic_calc2_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc2_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc2_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_calc2_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc2_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc2_empty/file/all.yml b/tests/results/60_5family_dynamic_calc2_empty/file/all.yml new file mode 100644 index 0000000..ae3cca5 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc2_empty/file/all.yml @@ -0,0 +1,9 @@ +rougail: + var: + - val1 + - val2 + var2: string1 + dynval1: + vardyn: string1 + dynval2: + vardyn: string1 diff --git a/tests/results/60_5family_dynamic_calc2_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc2_empty/file/all_exclude.yml new file mode 100644 index 0000000..92ef283 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc2_empty/file/all_exclude.yml @@ -0,0 +1,6 @@ +rougail: + var2: string1 + dynval1: + vardyn: string1 + dynval2: + vardyn: string1 diff --git a/tests/results/60_5family_dynamic_calc2_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_calc2_empty/file/mandatories.yml new file mode 100644 index 0000000..381e178 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc2_empty/file/mandatories.yml @@ -0,0 +1,2 @@ +rougail: + var2: string1 diff --git a/tests/results/60_5family_dynamic_calc2_empty/makedict/all.json b/tests/results/60_5family_dynamic_calc2_empty/makedict/all.json new file mode 100644 index 0000000..b49f492 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc2_empty/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.var2": "string1", + "rougail.dynval1.vardyn": "string1", + "rougail.dynval2.vardyn": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc2_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc2_empty/makedict/mandatories.json new file mode 100644 index 0000000..f5b0199 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc2_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var": [], + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_suffix/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix/file/all_exclude.yml index 43f43c3..459995e 100644 --- a/tests/results/60_5family_dynamic_calc_suffix/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_calc_suffix/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var1: + - string1 + - string2 + - string3 dynstring1: var: string1 dynstring2: diff --git a/tests/results/60_5family_dynamic_calc_suffix2/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix2/file/all_exclude.yml index aa19241..b244364 100644 --- a/tests/results/60_5family_dynamic_calc_suffix2/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_calc_suffix2/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: var: string1 dynstring2: diff --git a/tests/results/60_5family_dynamic_calc_suffix2_empty/errors/all.json b/tests/results/60_5family_dynamic_calc_suffix2_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix2_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix2_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix2_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix2_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix2_empty/file/all.yml b/tests/results/60_5family_dynamic_calc_suffix2_empty/file/all.yml new file mode 100644 index 0000000..d4372ae --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix2_empty/file/all.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_5family_dynamic_calc_suffix2_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix2_empty/file/all_exclude.yml new file mode 100644 index 0000000..308201b --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix2_empty/file/all_exclude.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_5family_dynamic_calc_suffix2_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_suffix2_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix2_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_5family_dynamic_calc_suffix2_empty/makedict/all.json b/tests/results/60_5family_dynamic_calc_suffix2_empty/makedict/all.json new file mode 100644 index 0000000..ee96b68 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix2_empty/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_suffix2_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix2_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix2_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty/errors/all.json b/tests/results/60_5family_dynamic_calc_suffix_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty/file/all.yml b/tests/results/60_5family_dynamic_calc_suffix_empty/file/all.yml new file mode 100644 index 0000000..e2dce20 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty/file/all.yml @@ -0,0 +1,9 @@ +rougail: + var1: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 + var2: string1 diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix_empty/file/all_exclude.yml new file mode 100644 index 0000000..185c7ec --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty/file/all_exclude.yml @@ -0,0 +1,6 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 + var2: string1 diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_suffix_empty/file/mandatories.yml new file mode 100644 index 0000000..381e178 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty/file/mandatories.yml @@ -0,0 +1,2 @@ +rougail: + var2: string1 diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty/makedict/all.json b/tests/results/60_5family_dynamic_calc_suffix_empty/makedict/all.json new file mode 100644 index 0000000..9c0312b --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1", + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_empty/makedict/mandatories.json new file mode 100644 index 0000000..9cc7b99 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": [], + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_suffix_param/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix_param/file/all_exclude.yml index aa19241..b244364 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_param/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_calc_suffix_param/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: var: string1 dynstring2: diff --git a/tests/results/60_5family_dynamic_calc_suffix_param_empty/errors/all.json b/tests/results/60_5family_dynamic_calc_suffix_param_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_param_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_param_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_param_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_param_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/all.yml b/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/all.yml new file mode 100644 index 0000000..d4372ae --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/all.yml @@ -0,0 +1,8 @@ +rougail: + var: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/all_exclude.yml new file mode 100644 index 0000000..308201b --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/all_exclude.yml @@ -0,0 +1,5 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 diff --git a/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_param_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_5family_dynamic_calc_suffix_param_empty/makedict/all.json b/tests/results/60_5family_dynamic_calc_suffix_param_empty/makedict/all.json new file mode 100644 index 0000000..ee96b68 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_param_empty/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_suffix_param_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_param_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_param_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_5family_dynamic_calc_variable/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_variable/file/all_exclude.yml index 43f43c3..459995e 100644 --- a/tests/results/60_5family_dynamic_calc_variable/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_calc_variable/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var1: + - string1 + - string2 + - string3 dynstring1: var: string1 dynstring2: diff --git a/tests/results/60_5family_dynamic_calc_variable_empty/errors/all.json b/tests/results/60_5family_dynamic_calc_variable_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_variable_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_variable_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_variable_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_variable_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_variable_empty/file/all.yml b/tests/results/60_5family_dynamic_calc_variable_empty/file/all.yml new file mode 100644 index 0000000..e2dce20 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_variable_empty/file/all.yml @@ -0,0 +1,9 @@ +rougail: + var1: + - val1 + - val2 + dynval1: + var: string1 + dynval2: + var: string1 + var2: string1 diff --git a/tests/results/60_5family_dynamic_calc_variable_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_variable_empty/file/all_exclude.yml new file mode 100644 index 0000000..185c7ec --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_variable_empty/file/all_exclude.yml @@ -0,0 +1,6 @@ +rougail: + dynval1: + var: string1 + dynval2: + var: string1 + var2: string1 diff --git a/tests/results/60_5family_dynamic_calc_variable_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_variable_empty/file/mandatories.yml new file mode 100644 index 0000000..381e178 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_variable_empty/file/mandatories.yml @@ -0,0 +1,2 @@ +rougail: + var2: string1 diff --git a/tests/results/60_5family_dynamic_calc_variable_empty/makedict/all.json b/tests/results/60_5family_dynamic_calc_variable_empty/makedict/all.json new file mode 100644 index 0000000..9c0312b --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_variable_empty/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1", + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_variable_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_variable_empty/makedict/mandatories.json new file mode 100644 index 0000000..9cc7b99 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_variable_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": [], + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_unknown_suffix/file/all_exclude.yml b/tests/results/60_5family_dynamic_unknown_suffix/file/all_exclude.yml index 403ecc3..335cb32 100644 --- a/tests/results/60_5family_dynamic_unknown_suffix/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_unknown_suffix/file/all_exclude.yml @@ -1,4 +1,9 @@ rougail: + var: + - val1 + - val2 + - val3 + - val4 val1_dyn: var1: string1 var2: string1 diff --git a/tests/results/60_5family_dynamic_unknown_suffix_empty/errors/all.json b/tests/results/60_5family_dynamic_unknown_suffix_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_unknown_suffix_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_unknown_suffix_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_unknown_suffix_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_unknown_suffix_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_unknown_suffix_empty/file/all.yml b/tests/results/60_5family_dynamic_unknown_suffix_empty/file/all.yml new file mode 100644 index 0000000..335cb32 --- /dev/null +++ b/tests/results/60_5family_dynamic_unknown_suffix_empty/file/all.yml @@ -0,0 +1,26 @@ +rougail: + var: + - val1 + - val2 + - val3 + - val4 + val1_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 + val2_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 + val3_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 + val4_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 diff --git a/tests/results/60_5family_dynamic_unknown_suffix_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_unknown_suffix_empty/file/all_exclude.yml new file mode 100644 index 0000000..403ecc3 --- /dev/null +++ b/tests/results/60_5family_dynamic_unknown_suffix_empty/file/all_exclude.yml @@ -0,0 +1,21 @@ +rougail: + val1_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 + val2_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 + val3_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 + val4_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 diff --git a/tests/results/60_5family_dynamic_unknown_suffix_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_unknown_suffix_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_5family_dynamic_unknown_suffix_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_5family_dynamic_unknown_suffix_empty/makedict/all.json b/tests/results/60_5family_dynamic_unknown_suffix_empty/makedict/all.json new file mode 100644 index 0000000..73d23d4 --- /dev/null +++ b/tests/results/60_5family_dynamic_unknown_suffix_empty/makedict/all.json @@ -0,0 +1,24 @@ +{ + "rougail.var": [ + "val1", + "val2", + "val3", + "val4" + ], + "rougail.val1_dyn.var1": "string1", + "rougail.val1_dyn.var2": "string1", + "rougail.val1_dyn.var3": "string1", + "rougail.val1_dyn.var4": "string1", + "rougail.val2_dyn.var1": "string1", + "rougail.val2_dyn.var2": "string1", + "rougail.val2_dyn.var3": "string1", + "rougail.val2_dyn.var4": "string1", + "rougail.val3_dyn.var1": "string1", + "rougail.val3_dyn.var2": "string1", + "rougail.val3_dyn.var3": "string1", + "rougail.val3_dyn.var4": "string1", + "rougail.val4_dyn.var1": "string1", + "rougail.val4_dyn.var2": "string1", + "rougail.val4_dyn.var3": "string1", + "rougail.val4_dyn.var4": "string1" +} diff --git a/tests/results/60_5family_dynamic_unknown_suffix_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_unknown_suffix_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_5family_dynamic_unknown_suffix_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_5family_dynamic_variable_outside/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside/file/all_exclude.yml index 48de994..8d581bf 100644 --- a/tests/results/60_5family_dynamic_variable_outside/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_variable_outside/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 my_dyn_family_string1: var: string1 my_dyn_family_string2: diff --git a/tests/results/60_5family_dynamic_variable_outside2/errors/all.json b/tests/results/60_5family_dynamic_variable_outside2/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside2/errors/mandatories.json b/tests/results/60_5family_dynamic_variable_outside2/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside2/file/all.yml b/tests/results/60_5family_dynamic_variable_outside2/file/all.yml new file mode 100644 index 0000000..9edae0f --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2/file/all.yml @@ -0,0 +1,15 @@ +rougail: + var2: + - string1 + - string2 + - string3 + var: + - string1 + - string2 + - string3 + my_dyn_family_string1: + var: string1 + my_dyn_family_string2: + var: string1 + my_dyn_family_string3: + var: string1 diff --git a/tests/results/60_5family_dynamic_variable_outside2/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside2/file/all_exclude.yml new file mode 100644 index 0000000..9edae0f --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2/file/all_exclude.yml @@ -0,0 +1,15 @@ +rougail: + var2: + - string1 + - string2 + - string3 + var: + - string1 + - string2 + - string3 + my_dyn_family_string1: + var: string1 + my_dyn_family_string2: + var: string1 + my_dyn_family_string3: + var: string1 diff --git a/tests/results/60_5family_dynamic_variable_outside2/file/mandatories.yml b/tests/results/60_5family_dynamic_variable_outside2/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_5family_dynamic_variable_outside2/makedict/all.json b/tests/results/60_5family_dynamic_variable_outside2/makedict/all.json new file mode 100644 index 0000000..aaffcb3 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2/makedict/all.json @@ -0,0 +1,15 @@ +{ + "rougail.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.var": [ + "string1", + "string2", + "string3" + ], + "rougail.my_dyn_family_string1.var": "string1", + "rougail.my_dyn_family_string2.var": "string1", + "rougail.my_dyn_family_string3.var": "string1" +} diff --git a/tests/results/60_5family_dynamic_variable_outside2/makedict/mandatories.json b/tests/results/60_5family_dynamic_variable_outside2/makedict/mandatories.json new file mode 100644 index 0000000..26d5f93 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2/makedict/mandatories.json @@ -0,0 +1,12 @@ +{ + "rougail.var2": [ + "val1", + "val2" + ], + "rougail.var": [ + "val1", + "val2" + ], + "rougail.my_dyn_family_val1.var": "val1", + "rougail.my_dyn_family_val2.var": "val2" +} diff --git a/tests/results/60_5family_dynamic_variable_outside2_empty/errors/all.json b/tests/results/60_5family_dynamic_variable_outside2_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside2_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_variable_outside2_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside2_empty/file/all.yml b/tests/results/60_5family_dynamic_variable_outside2_empty/file/all.yml new file mode 100644 index 0000000..9698685 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2_empty/file/all.yml @@ -0,0 +1,12 @@ +rougail: + var2: + - string1 + - string2 + - string3 + var: + - val1 + - val2 + my_dyn_family_val1: + var: string1 + my_dyn_family_val2: + var: string1 diff --git a/tests/results/60_5family_dynamic_variable_outside2_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside2_empty/file/all_exclude.yml new file mode 100644 index 0000000..baa42b9 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2_empty/file/all_exclude.yml @@ -0,0 +1,9 @@ +rougail: + var2: + - string1 + - string2 + - string3 + my_dyn_family_val1: + var: string1 + my_dyn_family_val2: + var: string1 diff --git a/tests/results/60_5family_dynamic_variable_outside2_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_variable_outside2_empty/file/mandatories.yml new file mode 100644 index 0000000..661ff64 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2_empty/file/mandatories.yml @@ -0,0 +1,5 @@ +rougail: + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside2_empty/makedict/all.json b/tests/results/60_5family_dynamic_variable_outside2_empty/makedict/all.json new file mode 100644 index 0000000..828bc63 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2_empty/makedict/all.json @@ -0,0 +1,13 @@ +{ + "rougail.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.var": [ + "val1", + "val2" + ], + "rougail.my_dyn_family_val1.var": "string1", + "rougail.my_dyn_family_val2.var": "string1" +} diff --git a/tests/results/60_5family_dynamic_variable_outside2_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_variable_outside2_empty/makedict/mandatories.json new file mode 100644 index 0000000..72705e5 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside2_empty/makedict/mandatories.json @@ -0,0 +1,8 @@ +{ + "rougail.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.var": [] +} diff --git a/tests/results/60_5family_dynamic_variable_outside_empty/errors/all.json b/tests/results/60_5family_dynamic_variable_outside_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_empty/file/all.yml b/tests/results/60_5family_dynamic_variable_outside_empty/file/all.yml new file mode 100644 index 0000000..66cedc1 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_empty/file/all.yml @@ -0,0 +1,12 @@ +rougail: + var: + - val1 + - val2 + my_dyn_family_val1: + var: string1 + my_dyn_family_val2: + var: string1 + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside_empty/file/all_exclude.yml new file mode 100644 index 0000000..8b478be --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_empty/file/all_exclude.yml @@ -0,0 +1,9 @@ +rougail: + my_dyn_family_val1: + var: string1 + my_dyn_family_val2: + var: string1 + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_variable_outside_empty/file/mandatories.yml new file mode 100644 index 0000000..661ff64 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_empty/file/mandatories.yml @@ -0,0 +1,5 @@ +rougail: + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside_empty/makedict/all.json b/tests/results/60_5family_dynamic_variable_outside_empty/makedict/all.json new file mode 100644 index 0000000..4aecf75 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_empty/makedict/all.json @@ -0,0 +1,13 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.my_dyn_family_val1.var": "string1", + "rougail.my_dyn_family_val2.var": "string1", + "rougail.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/60_5family_dynamic_variable_outside_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_empty/makedict/mandatories.json new file mode 100644 index 0000000..2a8dfb7 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_empty/makedict/mandatories.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [], + "rougail.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/60_5family_dynamic_variable_outside_jinja/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside_jinja/file/all_exclude.yml index 48de994..8d581bf 100644 --- a/tests/results/60_5family_dynamic_variable_outside_jinja/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_variable_outside_jinja/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 my_dyn_family_string1: var: string1 my_dyn_family_string2: diff --git a/tests/results/60_5family_dynamic_variable_outside_jinja_empty/errors/all.json b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_jinja_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/all.yml b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/all.yml new file mode 100644 index 0000000..66cedc1 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/all.yml @@ -0,0 +1,12 @@ +rougail: + var: + - val1 + - val2 + my_dyn_family_val1: + var: string1 + my_dyn_family_val2: + var: string1 + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/all_exclude.yml new file mode 100644 index 0000000..8b478be --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/all_exclude.yml @@ -0,0 +1,9 @@ +rougail: + my_dyn_family_val1: + var: string1 + my_dyn_family_val2: + var: string1 + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/mandatories.yml new file mode 100644 index 0000000..661ff64 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/file/mandatories.yml @@ -0,0 +1,5 @@ +rougail: + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside_jinja_empty/makedict/all.json b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/makedict/all.json new file mode 100644 index 0000000..4aecf75 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/makedict/all.json @@ -0,0 +1,13 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.my_dyn_family_val1.var": "string1", + "rougail.my_dyn_family_val2.var": "string1", + "rougail.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/60_5family_dynamic_variable_outside_jinja_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/makedict/mandatories.json new file mode 100644 index 0000000..2a8dfb7 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_jinja_empty/makedict/mandatories.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [], + "rougail.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/60_5family_dynamic_variable_outside_sub_suffix/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside_sub_suffix/file/all_exclude.yml index 84b6e4b..5191547 100644 --- a/tests/results/60_5family_dynamic_variable_outside_sub_suffix/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_variable_outside_sub_suffix/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 my_dyn_family_string1: subdyn_string1: var: string1 diff --git a/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/errors/all.json b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/all.yml b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/all.yml new file mode 100644 index 0000000..cbfbfe0 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/all.yml @@ -0,0 +1,18 @@ +rougail: + var: + - val1 + - val2 + my_dyn_family_val1: + subdyn_val1: + var: string1 + subdyn_val2: + var: string1 + my_dyn_family_val2: + subdyn_val1: + var: string1 + subdyn_val2: + var: string1 + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/all_exclude.yml new file mode 100644 index 0000000..2ba8f39 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/all_exclude.yml @@ -0,0 +1,15 @@ +rougail: + my_dyn_family_val1: + subdyn_val1: + var: string1 + subdyn_val2: + var: string1 + my_dyn_family_val2: + subdyn_val1: + var: string1 + subdyn_val2: + var: string1 + var2: + - string1 + - string2 + - string3 diff --git a/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/makedict/all.json b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/makedict/all.json new file mode 100644 index 0000000..316604c --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/makedict/all.json @@ -0,0 +1,15 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.my_dyn_family_val1.subdyn_val1.var": "string1", + "rougail.my_dyn_family_val1.subdyn_val2.var": "string1", + "rougail.my_dyn_family_val2.subdyn_val1.var": "string1", + "rougail.my_dyn_family_val2.subdyn_val2.var": "string1", + "rougail.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/makedict/mandatories.json new file mode 100644 index 0000000..287085a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_sub_suffix_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var": [], + "rougail.var2": [] +} diff --git a/tests/results/60_5family_dynamic_variable_outside_suffix/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside_suffix/file/all_exclude.yml index a18c067..ec5a68c 100644 --- a/tests/results/60_5family_dynamic_variable_outside_suffix/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_variable_outside_suffix/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 dyn_string1: var: string1 dyn_string2: diff --git a/tests/results/60_5family_dynamic_variable_outside_suffix_empty/errors/all.json b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_suffix_empty/errors/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/all.yml b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/all.yml new file mode 100644 index 0000000..fb67e8c --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/all.yml @@ -0,0 +1,9 @@ +rougail: + var: + - val1 + - val2 + dyn_val1: + var: string1 + dyn_val2: + var: string1 + var2: string1 diff --git a/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/all_exclude.yml new file mode 100644 index 0000000..5bd02af --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/all_exclude.yml @@ -0,0 +1,6 @@ +rougail: + dyn_val1: + var: string1 + dyn_val2: + var: string1 + var2: string1 diff --git a/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/mandatories.yml b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_5family_dynamic_variable_outside_suffix_empty/makedict/all.json b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/makedict/all.json new file mode 100644 index 0000000..d7e0644 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dyn_val1.var": "string1", + "rougail.dyn_val2.var": "string1", + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_variable_outside_suffix_empty/makedict/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/makedict/mandatories.json new file mode 100644 index 0000000..cd9083c --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_suffix_empty/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var": [], + "rougail.var2": null +} diff --git a/tests/results/60_6family_dynamic_inside/file/all_exclude.yml b/tests/results/60_6family_dynamic_inside/file/all_exclude.yml index e6f999d..66ecd39 100644 --- a/tests/results/60_6family_dynamic_inside/file/all_exclude.yml +++ b/tests/results/60_6family_dynamic_inside/file/all_exclude.yml @@ -1,4 +1,8 @@ rougail: + var: + - string1 + - string2 + - string3 string1_dyn: var1: string1 var2: string1 diff --git a/tests/results/60_6family_dynamic_inside_empty/errors/all.json b/tests/results/60_6family_dynamic_inside_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_inside_empty/errors/mandatories.json b/tests/results/60_6family_dynamic_inside_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_inside_empty/file/all.yml b/tests/results/60_6family_dynamic_inside_empty/file/all.yml new file mode 100644 index 0000000..e6bdc70 --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_empty/file/all.yml @@ -0,0 +1,14 @@ +rougail: + var: + - val1 + - val2 + val1_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 + val2_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 diff --git a/tests/results/60_6family_dynamic_inside_empty/file/all_exclude.yml b/tests/results/60_6family_dynamic_inside_empty/file/all_exclude.yml new file mode 100644 index 0000000..fbdc452 --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_empty/file/all_exclude.yml @@ -0,0 +1,11 @@ +rougail: + val1_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 + val2_dyn: + var1: string1 + var2: string1 + var3: string1 + var4: string1 diff --git a/tests/results/60_6family_dynamic_inside_empty/file/mandatories.yml b/tests/results/60_6family_dynamic_inside_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_6family_dynamic_inside_empty/makedict/all.json b/tests/results/60_6family_dynamic_inside_empty/makedict/all.json new file mode 100644 index 0000000..7225362 --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_empty/makedict/all.json @@ -0,0 +1,14 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.val1_dyn.var1": "string1", + "rougail.val1_dyn.var2": "string1", + "rougail.val1_dyn.var3": "string1", + "rougail.val1_dyn.var4": "string1", + "rougail.val2_dyn.var1": "string1", + "rougail.val2_dyn.var2": "string1", + "rougail.val2_dyn.var3": "string1", + "rougail.val2_dyn.var4": "string1" +} diff --git a/tests/results/60_6family_dynamic_inside_empty/makedict/mandatories.json b/tests/results/60_6family_dynamic_inside_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_6family_dynamic_leadership/file/all.yml b/tests/results/60_6family_dynamic_leadership/file/all.yml index 7bdb07b..c89120c 100644 --- a/tests/results/60_6family_dynamic_leadership/file/all.yml +++ b/tests/results/60_6family_dynamic_leadership/file/all.yml @@ -9,30 +9,30 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 dynstring2: leadership: - leader: string1 follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 dynstring3: leadership: - leader: string1 follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/60_6family_dynamic_leadership/file/all_exclude.yml b/tests/results/60_6family_dynamic_leadership/file/all_exclude.yml index fb703d5..c89120c 100644 --- a/tests/results/60_6family_dynamic_leadership/file/all_exclude.yml +++ b/tests/results/60_6family_dynamic_leadership/file/all_exclude.yml @@ -1,34 +1,38 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: leadership: - leader: string1 follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 dynstring2: leadership: - leader: string1 follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 dynstring3: leadership: - leader: string1 follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/60_6family_dynamic_leadership/makedict/all.json b/tests/results/60_6family_dynamic_leadership/makedict/all.json index 0306428..07720ec 100644 --- a/tests/results/60_6family_dynamic_leadership/makedict/all.json +++ b/tests/results/60_6family_dynamic_leadership/makedict/all.json @@ -12,13 +12,13 @@ }, { "rougail.dynstring1.leadership.leader": "string2", - "rougail.dynstring1.leadership.follower1": "string1", - "rougail.dynstring1.leadership.follower2": "string1" + "rougail.dynstring1.leadership.follower1": "string2", + "rougail.dynstring1.leadership.follower2": "string2" }, { "rougail.dynstring1.leadership.leader": "string3", - "rougail.dynstring1.leadership.follower1": "string1", - "rougail.dynstring1.leadership.follower2": "string1" + "rougail.dynstring1.leadership.follower1": "string3", + "rougail.dynstring1.leadership.follower2": "string3" } ], "rougail.dynstring2.leadership.leader": [ @@ -29,13 +29,13 @@ }, { "rougail.dynstring2.leadership.leader": "string2", - "rougail.dynstring2.leadership.follower1": "string1", - "rougail.dynstring2.leadership.follower2": "string1" + "rougail.dynstring2.leadership.follower1": "string2", + "rougail.dynstring2.leadership.follower2": "string2" }, { "rougail.dynstring2.leadership.leader": "string3", - "rougail.dynstring2.leadership.follower1": "string1", - "rougail.dynstring2.leadership.follower2": "string1" + "rougail.dynstring2.leadership.follower1": "string3", + "rougail.dynstring2.leadership.follower2": "string3" } ], "rougail.dynstring3.leadership.leader": [ @@ -46,13 +46,13 @@ }, { "rougail.dynstring3.leadership.leader": "string2", - "rougail.dynstring3.leadership.follower1": "string1", - "rougail.dynstring3.leadership.follower2": "string1" + "rougail.dynstring3.leadership.follower1": "string2", + "rougail.dynstring3.leadership.follower2": "string2" }, { "rougail.dynstring3.leadership.leader": "string3", - "rougail.dynstring3.leadership.follower1": "string1", - "rougail.dynstring3.leadership.follower2": "string1" + "rougail.dynstring3.leadership.follower1": "string3", + "rougail.dynstring3.leadership.follower2": "string3" } ] } diff --git a/tests/results/60_6family_dynamic_leadership_empty/errors/all.json b/tests/results/60_6family_dynamic_leadership_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_leadership_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_leadership_empty/errors/mandatories.json b/tests/results/60_6family_dynamic_leadership_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_leadership_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_leadership_empty/file/all.yml b/tests/results/60_6family_dynamic_leadership_empty/file/all.yml new file mode 100644 index 0000000..f9164f0 --- /dev/null +++ b/tests/results/60_6family_dynamic_leadership_empty/file/all.yml @@ -0,0 +1,26 @@ +rougail: + var: + - val1 + - val2 + dynval1: + leadership: + - leader: string1 + follower1: string1 + follower2: string1 + - leader: string2 + follower1: string2 + follower2: string2 + - leader: string3 + follower1: string3 + follower2: string3 + dynval2: + leadership: + - leader: string1 + follower1: string1 + follower2: string1 + - leader: string2 + follower1: string2 + follower2: string2 + - leader: string3 + follower1: string3 + follower2: string3 diff --git a/tests/results/60_6family_dynamic_leadership_empty/file/all_exclude.yml b/tests/results/60_6family_dynamic_leadership_empty/file/all_exclude.yml new file mode 100644 index 0000000..3fa131d --- /dev/null +++ b/tests/results/60_6family_dynamic_leadership_empty/file/all_exclude.yml @@ -0,0 +1,23 @@ +rougail: + dynval1: + leadership: + - leader: string1 + follower1: string1 + follower2: string1 + - leader: string2 + follower1: string2 + follower2: string2 + - leader: string3 + follower1: string3 + follower2: string3 + dynval2: + leadership: + - leader: string1 + follower1: string1 + follower2: string1 + - leader: string2 + follower1: string2 + follower2: string2 + - leader: string3 + follower1: string3 + follower2: string3 diff --git a/tests/results/60_6family_dynamic_leadership_empty/file/mandatories.yml b/tests/results/60_6family_dynamic_leadership_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_6family_dynamic_leadership_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_6family_dynamic_leadership_empty/makedict/all.json b/tests/results/60_6family_dynamic_leadership_empty/makedict/all.json new file mode 100644 index 0000000..3f9f804 --- /dev/null +++ b/tests/results/60_6family_dynamic_leadership_empty/makedict/all.json @@ -0,0 +1,40 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.leadership.leader": [ + { + "rougail.dynval1.leadership.leader": "string1", + "rougail.dynval1.leadership.follower1": "string1", + "rougail.dynval1.leadership.follower2": "string1" + }, + { + "rougail.dynval1.leadership.leader": "string2", + "rougail.dynval1.leadership.follower1": "string2", + "rougail.dynval1.leadership.follower2": "string2" + }, + { + "rougail.dynval1.leadership.leader": "string3", + "rougail.dynval1.leadership.follower1": "string3", + "rougail.dynval1.leadership.follower2": "string3" + } + ], + "rougail.dynval2.leadership.leader": [ + { + "rougail.dynval2.leadership.leader": "string1", + "rougail.dynval2.leadership.follower1": "string1", + "rougail.dynval2.leadership.follower2": "string1" + }, + { + "rougail.dynval2.leadership.leader": "string2", + "rougail.dynval2.leadership.follower1": "string2", + "rougail.dynval2.leadership.follower2": "string2" + }, + { + "rougail.dynval2.leadership.leader": "string3", + "rougail.dynval2.leadership.follower1": "string3", + "rougail.dynval2.leadership.follower2": "string3" + } + ] +} diff --git a/tests/results/60_6family_dynamic_leadership_empty/makedict/mandatories.json b/tests/results/60_6family_dynamic_leadership_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_6family_dynamic_leadership_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/60_6family_dynamic_sub_dynamic/file/all_exclude.yml b/tests/results/60_6family_dynamic_sub_dynamic/file/all_exclude.yml index 9348e51..960ec62 100644 --- a/tests/results/60_6family_dynamic_sub_dynamic/file/all_exclude.yml +++ b/tests/results/60_6family_dynamic_sub_dynamic/file/all_exclude.yml @@ -1,5 +1,13 @@ rougail: + var: + - string1 + - string2 + - string3 dynstring1: + var: + - string1 + - string2 + - string3 dyn_string1: var: string1 var_identifier: string1 @@ -13,6 +21,10 @@ rougail: var_identifier: string1 var_identifiers: string1 dynstring2: + var: + - string1 + - string2 + - string3 dyn_string1: var: string1 var_identifier: string1 @@ -26,6 +38,10 @@ rougail: var_identifier: string1 var_identifiers: string1 dynstring3: + var: + - string1 + - string2 + - string3 dyn_string1: var: string1 var_identifier: string1 diff --git a/tests/results/60_6family_dynamic_sub_dynamic_1_0/errors/all.json b/tests/results/60_6family_dynamic_sub_dynamic_1_0/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_1_0/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_sub_dynamic_1_0/errors/mandatories.json b/tests/results/60_6family_dynamic_sub_dynamic_1_0/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_1_0/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/all.yml b/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/all.yml new file mode 100644 index 0000000..960ec62 --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/all.yml @@ -0,0 +1,56 @@ +rougail: + var: + - string1 + - string2 + - string3 + dynstring1: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dynstring2: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dynstring3: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 diff --git a/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/all_exclude.yml b/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/all_exclude.yml new file mode 100644 index 0000000..960ec62 --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/all_exclude.yml @@ -0,0 +1,56 @@ +rougail: + var: + - string1 + - string2 + - string3 + dynstring1: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dynstring2: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dynstring3: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 diff --git a/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/mandatories.yml b/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_1_0/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_6family_dynamic_sub_dynamic_1_0/makedict/all.json b/tests/results/60_6family_dynamic_sub_dynamic_1_0/makedict/all.json new file mode 100644 index 0000000..f50d14d --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_1_0/makedict/all.json @@ -0,0 +1,49 @@ +{ + "rougail.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynstring1.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynstring1.dyn_string1.var": "string1", + "rougail.dynstring1.dyn_string1.var_identifier": "string1", + "rougail.dynstring1.dyn_string1.var_identifiers": "string1", + "rougail.dynstring1.dyn_string2.var": "string1", + "rougail.dynstring1.dyn_string2.var_identifier": "string1", + "rougail.dynstring1.dyn_string2.var_identifiers": "string1", + "rougail.dynstring1.dyn_string3.var": "string1", + "rougail.dynstring1.dyn_string3.var_identifier": "string1", + "rougail.dynstring1.dyn_string3.var_identifiers": "string1", + "rougail.dynstring2.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynstring2.dyn_string1.var": "string1", + "rougail.dynstring2.dyn_string1.var_identifier": "string1", + "rougail.dynstring2.dyn_string1.var_identifiers": "string1", + "rougail.dynstring2.dyn_string2.var": "string1", + "rougail.dynstring2.dyn_string2.var_identifier": "string1", + "rougail.dynstring2.dyn_string2.var_identifiers": "string1", + "rougail.dynstring2.dyn_string3.var": "string1", + "rougail.dynstring2.dyn_string3.var_identifier": "string1", + "rougail.dynstring2.dyn_string3.var_identifiers": "string1", + "rougail.dynstring3.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynstring3.dyn_string1.var": "string1", + "rougail.dynstring3.dyn_string1.var_identifier": "string1", + "rougail.dynstring3.dyn_string1.var_identifiers": "string1", + "rougail.dynstring3.dyn_string2.var": "string1", + "rougail.dynstring3.dyn_string2.var_identifier": "string1", + "rougail.dynstring3.dyn_string2.var_identifiers": "string1", + "rougail.dynstring3.dyn_string3.var": "string1", + "rougail.dynstring3.dyn_string3.var_identifier": "string1", + "rougail.dynstring3.dyn_string3.var_identifiers": "string1" +} diff --git a/tests/results/60_6family_dynamic_sub_dynamic_1_0/makedict/mandatories.json b/tests/results/60_6family_dynamic_sub_dynamic_1_0/makedict/mandatories.json new file mode 100644 index 0000000..07461b6 --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_1_0/makedict/mandatories.json @@ -0,0 +1,26 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": [ + "tval1", + "tval2" + ], + "rougail.dynval1.dyn_tval1.var": "tval1", + "rougail.dynval1.dyn_tval1.var_identifier": "val1", + "rougail.dynval1.dyn_tval1.var_identifiers": "val1-tval1", + "rougail.dynval1.dyn_tval2.var": "tval2", + "rougail.dynval1.dyn_tval2.var_identifier": "val1", + "rougail.dynval1.dyn_tval2.var_identifiers": "val1-tval2", + "rougail.dynval2.var": [ + "tval1", + "tval2" + ], + "rougail.dynval2.dyn_tval1.var": "tval1", + "rougail.dynval2.dyn_tval1.var_identifier": "val2", + "rougail.dynval2.dyn_tval1.var_identifiers": "val2-tval1", + "rougail.dynval2.dyn_tval2.var": "tval2", + "rougail.dynval2.dyn_tval2.var_identifier": "val2", + "rougail.dynval2.dyn_tval2.var_identifiers": "val2-tval2" +} diff --git a/tests/results/60_6family_dynamic_sub_dynamic_empty/errors/all.json b/tests/results/60_6family_dynamic_sub_dynamic_empty/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_empty/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_sub_dynamic_empty/errors/mandatories.json b/tests/results/60_6family_dynamic_sub_dynamic_empty/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_empty/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_sub_dynamic_empty/file/all.yml b/tests/results/60_6family_dynamic_sub_dynamic_empty/file/all.yml new file mode 100644 index 0000000..63c92df --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_empty/file/all.yml @@ -0,0 +1,38 @@ +rougail: + var: + - val1 + - val2 + dynval1: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dynval2: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 diff --git a/tests/results/60_6family_dynamic_sub_dynamic_empty/file/all_exclude.yml b/tests/results/60_6family_dynamic_sub_dynamic_empty/file/all_exclude.yml new file mode 100644 index 0000000..5662fcd --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_empty/file/all_exclude.yml @@ -0,0 +1,35 @@ +rougail: + dynval1: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dynval2: + var: + - string1 + - string2 + - string3 + dyn_string1: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string2: + var: string1 + var_identifier: string1 + var_identifiers: string1 + dyn_string3: + var: string1 + var_identifier: string1 + var_identifiers: string1 diff --git a/tests/results/60_6family_dynamic_sub_dynamic_empty/file/mandatories.yml b/tests/results/60_6family_dynamic_sub_dynamic_empty/file/mandatories.yml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_empty/file/mandatories.yml @@ -0,0 +1 @@ +{} diff --git a/tests/results/60_6family_dynamic_sub_dynamic_empty/makedict/all.json b/tests/results/60_6family_dynamic_sub_dynamic_empty/makedict/all.json new file mode 100644 index 0000000..ac826ec --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_empty/makedict/all.json @@ -0,0 +1,34 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval1.dyn_string1.var": "string1", + "rougail.dynval1.dyn_string1.var_identifier": "string1", + "rougail.dynval1.dyn_string1.var_identifiers": "string1", + "rougail.dynval1.dyn_string2.var": "string1", + "rougail.dynval1.dyn_string2.var_identifier": "string1", + "rougail.dynval1.dyn_string2.var_identifiers": "string1", + "rougail.dynval1.dyn_string3.var": "string1", + "rougail.dynval1.dyn_string3.var_identifier": "string1", + "rougail.dynval1.dyn_string3.var_identifiers": "string1", + "rougail.dynval2.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dyn_string1.var": "string1", + "rougail.dynval2.dyn_string1.var_identifier": "string1", + "rougail.dynval2.dyn_string1.var_identifiers": "string1", + "rougail.dynval2.dyn_string2.var": "string1", + "rougail.dynval2.dyn_string2.var_identifier": "string1", + "rougail.dynval2.dyn_string2.var_identifiers": "string1", + "rougail.dynval2.dyn_string3.var": "string1", + "rougail.dynval2.dyn_string3.var_identifier": "string1", + "rougail.dynval2.dyn_string3.var_identifiers": "string1" +} diff --git a/tests/results/60_6family_dynamic_sub_dynamic_empty/makedict/mandatories.json b/tests/results/60_6family_dynamic_sub_dynamic_empty/makedict/mandatories.json new file mode 100644 index 0000000..a132f45 --- /dev/null +++ b/tests/results/60_6family_dynamic_sub_dynamic_empty/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var": [] +} diff --git a/tests/results/68_0family_leadership_mode/file/all.yml b/tests/results/68_0family_leadership_mode/file/all.yml index 1693505..7b81149 100644 --- a/tests/results/68_0family_leadership_mode/file/all.yml +++ b/tests/results/68_0family_leadership_mode/file/all.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/68_0family_leadership_mode/file/all_exclude.yml b/tests/results/68_0family_leadership_mode/file/all_exclude.yml index 1693505..7b81149 100644 --- a/tests/results/68_0family_leadership_mode/file/all_exclude.yml +++ b/tests/results/68_0family_leadership_mode/file/all_exclude.yml @@ -4,8 +4,8 @@ rougail: follower1: string1 follower2: string1 - leader: string2 - follower1: string1 - follower2: string1 + follower1: string2 + follower2: string2 - leader: string3 - follower1: string1 - follower2: string1 + follower1: string3 + follower2: string3 diff --git a/tests/results/68_0family_leadership_mode/makedict/all.json b/tests/results/68_0family_leadership_mode/makedict/all.json index 9b97426..c5ca597 100644 --- a/tests/results/68_0family_leadership_mode/makedict/all.json +++ b/tests/results/68_0family_leadership_mode/makedict/all.json @@ -7,13 +7,13 @@ }, { "rougail.leader.leader": "string2", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2" }, { "rougail.leader.leader": "string3", - "rougail.leader.follower1": "string1", - "rougail.leader.follower2": "string1" + "rougail.leader.follower1": "string3", + "rougail.leader.follower2": "string3" } ] } diff --git a/tests/test_file.py b/tests/test_file.py index 6c45304..31ef2e6 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -22,7 +22,7 @@ test_ok -= excludes for test in dico_dirs.iterdir(): if (test / 'tiramisu').is_dir() and test.name not in excludes: test_ok.add(test.name) -# test_ok = ['24_family_disabled_var_hidden'] +# test_ok = ['60_6family_dynamic_sub_dynamic_empty'] test_ok = list(test_ok) test_ok.sort() @@ -53,10 +53,12 @@ def _get_rougailconfig(test_dir): rougailconfig = ROUGAILCONFIG.copy() rougailconfig['step.user_data'] = ['file'] rougailconfig['main_namespace'] = 'rougail' + rougailconfig['modes_level'] = ["basic", "standard", "advanced"] dirs = [str(dico_dirs / test_dir / 'dictionaries' / 'rougail')] rougailconfig['custom_types']['custom'] = CustomOption rougailconfig['main_dictionaries'] = dirs rougailconfig['functions_files'] = ['../rougail/tests/eosfunc/test.py'] +# rougailconfig["tiramisu_cache"] = "p.py" return rougailconfig @@ -102,8 +104,11 @@ def populate(dest_dir, rougailconfig, level, need_exclude): else: filename = dest_dir / 'file' / f'{level}.{EXT}' makedict_file = dest_dir / 'makedict' / f'{level}.json' - excludes = [] if not filename.is_file() or not makedict_file.is_file(): + if need_exclude: + excludes = [] + else: + excludes = None config = Rougail(rougailconfig).run() config.property.read_only() root_config = config.unrestraint @@ -112,7 +117,7 @@ def populate(dest_dir, rougailconfig, level, need_exclude): else: only = True values = {} - get_variables(root_config, values, only, excludes) + get_variables(root_config, root_config, values, only, excludes) if need_exclude: for exclude in excludes: _values = values @@ -138,7 +143,7 @@ def populate(dest_dir, rougailconfig, level, need_exclude): fh.write('\n') -def get_value(variable): +def get_value(variable, index): if 'force_store_value' in variable.property.get(): return variable.value.get() tests = variable.information.get('test', None) @@ -171,61 +176,64 @@ def get_value(variable): tests = ['192.168.1.6', '10.0.10.10'] else: tests = ['string1', 'string2', 'string3'] - if not variable.ismulti() or (variable.isfollower() and variable.issubmulti() is False): + if not variable.ismulti(): tests = tests[0] + elif index is not None and variable.isfollower() and variable.issubmulti() is False: + tests = tests[index] variable.value.set(tests) + if index is not None and variable.isleader(): + tests = tests[index] return tests -def get_variables(config, values, only, excludes, *, index=None): +def get_variables(root_config, config, values, only, excludes, *, index=None, leader_is_mandatory=False): for idx, key in enumerate(config): if key.isoptiondescription(): if key.isleadership(): value = [] leader = key.leader() - if only and not leader.property.mandatory(): - set_leader = False + if only and not leader.value.mandatory(): leader_value = leader.value.get() + leader_is_mandatory = False else: - set_leader = True - leader_value = get_value(leader) + leader_value = get_value(leader, None) + leader_is_mandatory = True for idx_, val in enumerate(leader_value): - if set_leader: - value.append({leader.name(): val}) - else: - value.append({}) - get_variables(key, value[-1], only, excludes, index=idx_) + value.append({}) + get_variables(root_config, key, value[-1], only, excludes, index=idx_, leader_is_mandatory=leader_is_mandatory) if value: values[key.name()] = value else: value = {} - get_variables(key, value, only, excludes) + get_variables(root_config, key, value, only, excludes) if value: values[key.name()] = value if key.isdynamic(only_self=True): identifier = key.identifiers(only_self=True, uncalculated=True) exclude = key.information.get('dynamic_variable', - None, - ) - if exclude: + None, + ) + if excludes is not None and exclude: identifiers = key.identifiers()[:-1] if identifiers: identifiers.reverse() for identifier in identifiers: exclude = exclude.replace('{{ identifier }}', str(identifier), 1) - excludes.append(exclude) + if not root_config.option(exclude).value.default(): + excludes.append(exclude) else: if only: - try: - mandatory = key.property.mandatory() - except: - mandatory = False + if key.isleader(): + mandatory = leader_is_mandatory + else: + try: + mandatory = key.value.mandatory() + except: + mandatory = False if not only or mandatory: - if idx == 0 and index is not None: + if key.index() is not None and index is not None and index != key.index(): continue - if idx and index is not None and index != key.index(): - continue - value = get_value(key) + value = get_value(key, index) values[key.name()] = value