From 038736c2831e8123817de7dee2daf897d2f60a2c Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 4 May 2026 10:35:58 +0200 Subject: [PATCH] feat: multi layers --- src/rougail/user_data_environment/data.py | 1 + .../errors/all.json | 6 ++-- .../test/04_1jinja_and_hidden/errors/all.json | 4 +++ .../errors/mandatories.json | 4 +++ .../test/04_1jinja_and_hidden/file/all.env | 2 ++ .../04_1jinja_and_hidden/file/all_exclude.env | 2 ++ .../04_1jinja_and_hidden/file/mandatories.env | 1 + .../04_1jinja_and_hidden/makedict/all.json | 3 ++ .../makedict/mandatories.json | 3 ++ .../errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 19 ++++++++++++ .../file/all.env | 3 ++ .../file/all_exclude.env | 3 ++ .../file/mandatories.env | 2 ++ .../makedict/all.json | 3 ++ .../makedict/mandatories.json | 3 ++ .../errors/all.json | 4 +++ .../errors/mandatories.json | 4 +++ .../file/all.env | 2 ++ .../file/all_exclude.env | 2 ++ .../file/mandatories.env | 1 + .../makedict/all.json | 1 + .../makedict/mandatories.json | 1 + .../errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 12 ++++++++ .../file/all.env | 3 ++ .../file/all_exclude.env | 3 ++ .../file/mandatories.env | 1 + .../makedict/all.json | 3 ++ .../makedict/mandatories.json | 4 +++ .../errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 12 ++++++++ .../file/all.env | 3 ++ .../file/all_exclude.env | 3 ++ .../file/mandatories.env | 1 + .../makedict/all.json | 3 ++ .../makedict/mandatories.json | 3 ++ .../errors/all.json | 4 +++ .../errors/mandatories.json | 4 +++ .../file/all.env | 1 - .../file/mandatories.env | 2 ++ .../errors/all.json | 12 ++++++++ .../errors/mandatories.json | 4 +++ .../file/all.env | 5 ++++ .../file/all_exclude.env | 4 +++ .../file/mandatories.env | 1 + .../makedict/all.json | 10 +++++++ .../makedict/mandatories.json | 10 +++++++ .../errors/all.json | 12 ++++++++ .../errors/mandatories.json | 4 +++ .../file/all.env | 5 ++++ .../file/all_exclude.env | 4 +++ .../file/mandatories.env | 1 + .../makedict/all.json | 22 ++++++++++++++ .../makedict/mandatories.json | 16 ++++++++++ .../errors/all.json | 4 +++ .../errors/mandatories.json | 4 +++ .../60_6family_subdynamic_inside/file/all.env | 9 ++++++ .../file/all_exclude.env | 8 +++++ .../file/mandatories.env | 7 +++++ .../makedict/all.json | 30 +++++++++++++++++++ .../makedict/mandatories.json | 29 ++++++++++++++++++ .../errors/all.json | 6 ++-- .../04_1jinja_and_hidden/errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 12 ++++++++ .../04_1jinja_and_hidden/file/all.env | 2 ++ .../04_1jinja_and_hidden/file/all_exclude.env | 2 ++ .../04_1jinja_and_hidden/file/mandatories.env | 1 + .../04_1jinja_and_hidden/makedict/all.json | 3 ++ .../makedict/mandatories.json | 3 ++ .../errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 19 ++++++++++++ .../file/all.env | 3 ++ .../file/all_exclude.env | 3 ++ .../file/mandatories.env | 2 ++ .../makedict/all.json | 3 ++ .../makedict/mandatories.json | 3 ++ .../errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 12 ++++++++ .../file/all.env | 2 ++ .../file/all_exclude.env | 2 ++ .../file/mandatories.env | 1 + .../makedict/all.json | 1 + .../makedict/mandatories.json | 1 + .../errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 12 ++++++++ .../file/all.env | 3 ++ .../file/all_exclude.env | 3 ++ .../file/mandatories.env | 1 + .../makedict/all.json | 3 ++ .../makedict/mandatories.json | 4 +++ .../errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 12 ++++++++ .../file/all.env | 3 ++ .../file/all_exclude.env | 3 ++ .../file/mandatories.env | 1 + .../makedict/all.json | 3 ++ .../makedict/mandatories.json | 3 ++ .../errors/all.json | 4 +++ .../errors/mandatories.json | 4 +++ .../file/all.env | 4 +++ .../file/all_exclude.env | 3 ++ .../file/mandatories.env | 1 + .../makedict/all.json | 9 ++++++ .../makedict/mandatories.json | 4 +++ .../errors/all.json | 4 +++ .../errors/mandatories.json | 4 +++ .../file/all.env | 2 ++ .../file/all_exclude.env | 2 ++ .../file/mandatories.env | 2 ++ .../makedict/mandatories.json | 8 +++++ .../errors/all.json | 12 ++++++++ .../errors/mandatories.json | 4 +++ .../file/all.env | 5 ++++ .../file/all_exclude.env | 4 +++ .../file/mandatories.env | 1 + .../makedict/all.json | 10 +++++++ .../makedict/mandatories.json | 10 +++++++ .../errors/all.json | 12 ++++++++ .../errors/mandatories.json | 4 +++ .../file/all.env | 5 ++++ .../file/all_exclude.env | 4 +++ .../file/mandatories.env | 1 + .../makedict/all.json | 22 ++++++++++++++ .../makedict/mandatories.json | 16 ++++++++++ .../errors/all.json | 7 ----- .../errors/mandatories.json | 10 ++++++- .../file/all.env | 5 ++-- .../file/all_exclude.env | 3 +- .../file/mandatories.env | 2 +- .../makedict/all.json | 3 +- .../makedict/mandatories.json | 6 ++-- .../errors/all.json | 19 ++++++++++++ .../errors/mandatories.json | 4 +++ .../file/all.env | 4 +++ .../file/all_exclude.env | 3 ++ .../file/mandatories.env | 1 + .../makedict/all.json | 7 +++++ .../makedict/mandatories.json | 4 +++ .../errors/all.json | 4 +++ .../errors/mandatories.json | 4 +++ .../file/all.env | 9 ++++++ .../file/all_exclude.env | 8 +++++ .../file/mandatories.env | 1 + .../makedict/all.json | 14 +++++++++ .../makedict/mandatories.json | 14 +++++++++ .../errors/all.json | 4 +++ .../errors/mandatories.json | 4 +++ .../60_6family_subdynamic_inside/file/all.env | 9 ++++++ .../file/all_exclude.env | 8 +++++ .../file/mandatories.env | 7 +++++ .../makedict/all.json | 30 +++++++++++++++++++ .../makedict/mandatories.json | 29 ++++++++++++++++++ tests/test_load.py | 5 ++-- 154 files changed, 983 insertions(+), 27 deletions(-) create mode 100644 tests/results/test/04_1jinja_and_hidden/errors/all.json create mode 100644 tests/results/test/04_1jinja_and_hidden/errors/mandatories.json create mode 100644 tests/results/test/04_1jinja_and_hidden/file/all.env create mode 100644 tests/results/test/04_1jinja_and_hidden/file/all_exclude.env create mode 100644 tests/results/test/04_1jinja_and_hidden/file/mandatories.env create mode 100644 tests/results/test/04_1jinja_and_hidden/makedict/all.json create mode 100644 tests/results/test/04_1jinja_and_hidden/makedict/mandatories.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive/errors/all.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive/errors/mandatories.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive/file/all.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive/file/all_exclude.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive/file/mandatories.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive/makedict/all.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive/makedict/mandatories.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_2/errors/all.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_2/file/all.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_2/file/all_exclude.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_2/file/mandatories.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_2/makedict/all.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_3/errors/all.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_3/file/all.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_3/file/all_exclude.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_3/file/mandatories.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_3/makedict/all.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_4/errors/all.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_4/file/all.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_4/file/all_exclude.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_4/file/mandatories.env create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_4/makedict/all.json create mode 100644 tests/results/test/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json create mode 100644 tests/results/test/60_0family_dynamic_source_hidden/errors/all.json create mode 100644 tests/results/test/60_0family_dynamic_source_hidden/errors/mandatories.json create mode 100644 tests/results/test/60_0family_dynamic_source_hidden/file/mandatories.env create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier/errors/all.json create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier/errors/mandatories.json create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier/file/all.env create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier/file/all_exclude.env create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier/file/mandatories.env create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier/makedict/all.json create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier/makedict/mandatories.json create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier_multi/errors/all.json create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier_multi/file/all.env create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier_multi/file/all_exclude.env create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier_multi/file/mandatories.env create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier_multi/makedict/all.json create mode 100644 tests/results/test/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json create mode 100644 tests/results/test/60_6family_subdynamic_inside/errors/all.json create mode 100644 tests/results/test/60_6family_subdynamic_inside/errors/mandatories.json create mode 100644 tests/results/test/60_6family_subdynamic_inside/file/all.env create mode 100644 tests/results/test/60_6family_subdynamic_inside/file/all_exclude.env create mode 100644 tests/results/test/60_6family_subdynamic_inside/file/mandatories.env create mode 100644 tests/results/test/60_6family_subdynamic_inside/makedict/all.json create mode 100644 tests/results/test/60_6family_subdynamic_inside/makedict/mandatories.json create mode 100644 tests/results/test_namespace/04_1jinja_and_hidden/errors/all.json create mode 100644 tests/results/test_namespace/04_1jinja_and_hidden/errors/mandatories.json create mode 100644 tests/results/test_namespace/04_1jinja_and_hidden/file/all.env create mode 100644 tests/results/test_namespace/04_1jinja_and_hidden/file/all_exclude.env create mode 100644 tests/results/test_namespace/04_1jinja_and_hidden/file/mandatories.env create mode 100644 tests/results/test_namespace/04_1jinja_and_hidden/makedict/all.json create mode 100644 tests/results/test_namespace/04_1jinja_and_hidden/makedict/mandatories.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive/errors/all.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive/errors/mandatories.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/all.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/all_exclude.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/mandatories.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive/makedict/all.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive/makedict/mandatories.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/errors/all.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/all.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/all_exclude.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/mandatories.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/makedict/all.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/errors/all.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/all.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/all_exclude.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/mandatories.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/makedict/all.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/errors/all.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/all.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/all_exclude.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/mandatories.env create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/makedict/all.json create mode 100644 tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json create mode 100644 tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/errors/all.json create mode 100644 tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/errors/mandatories.json create mode 100644 tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/all.env create mode 100644 tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/all_exclude.env create mode 100644 tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/mandatories.env create mode 100644 tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/makedict/all.json create mode 100644 tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/makedict/mandatories.json create mode 100644 tests/results/test_namespace/60_0family_dynamic_source_hidden/errors/all.json create mode 100644 tests/results/test_namespace/60_0family_dynamic_source_hidden/errors/mandatories.json create mode 100644 tests/results/test_namespace/60_0family_dynamic_source_hidden/file/all.env create mode 100644 tests/results/test_namespace/60_0family_dynamic_source_hidden/file/all_exclude.env create mode 100644 tests/results/test_namespace/60_0family_dynamic_source_hidden/file/mandatories.env create mode 100644 tests/results/test_namespace/60_0family_dynamic_source_hidden/makedict/mandatories.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier/errors/all.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier/errors/mandatories.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/all.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/all_exclude.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/mandatories.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier/makedict/all.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier/makedict/mandatories.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/errors/all.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/all.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/all_exclude.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/mandatories.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/makedict/all.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/errors/all.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/errors/mandatories.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/all.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/all_exclude.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/mandatories.env create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/makedict/all.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/makedict/mandatories.json create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier/errors/all.json create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier/errors/mandatories.json create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/all.env create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/all_exclude.env create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/mandatories.env create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier/makedict/all.json create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier/makedict/mandatories.json create mode 100644 tests/results/test_namespace/60_6family_subdynamic_inside/errors/all.json create mode 100644 tests/results/test_namespace/60_6family_subdynamic_inside/errors/mandatories.json create mode 100644 tests/results/test_namespace/60_6family_subdynamic_inside/file/all.env create mode 100644 tests/results/test_namespace/60_6family_subdynamic_inside/file/all_exclude.env create mode 100644 tests/results/test_namespace/60_6family_subdynamic_inside/file/mandatories.env create mode 100644 tests/results/test_namespace/60_6family_subdynamic_inside/makedict/all.json create mode 100644 tests/results/test_namespace/60_6family_subdynamic_inside/makedict/mandatories.json diff --git a/src/rougail/user_data_environment/data.py b/src/rougail/user_data_environment/data.py index 103279f..38be35b 100644 --- a/src/rougail/user_data_environment/data.py +++ b/src/rougail/user_data_environment/data.py @@ -32,6 +32,7 @@ class RougailUserDataEnvironment: config: "Config", *, rougailconfig: RougailConfig = None, + **kwargs, ): # this is the tiramisu config object self.config = config diff --git a/tests/results/test/00_2default_calculated_params_permissive/errors/all.json b/tests/results/test/00_2default_calculated_params_permissive/errors/all.json index c9ae9f8..fc48764 100644 --- a/tests/results/test/00_2default_calculated_params_permissive/errors/all.json +++ b/tests/results/test/00_2default_calculated_params_permissive/errors/all.json @@ -10,21 +10,21 @@ ], [ [ - "variable \"var2\" (a first variable) at index \"0\" is hidden, it will be ignored when loading from environment variable", + "family \"leadership\" is hidden, \"var2\" (a first variable) at index \"0\", it will be ignored when loading from environment variable", "leadership.var2", null ] ], [ [ - "variable \"var2\" (a first variable) at index \"1\" is hidden, it will be ignored when loading from environment variable", + "index \"1\" is greater than the leadership length \"1\" for option \"var2\" (a first variable), it will be ignored when loading from environment variable", "leadership.var2", null ] ], [ [ - "variable \"var2\" (a first variable) at index \"2\" is hidden, it will be ignored when loading from environment variable", + "index \"2\" is greater than the leadership length \"1\" for option \"var2\" (a first variable), it will be ignored when loading from environment variable", "leadership.var2", null ] diff --git a/tests/results/test/04_1jinja_and_hidden/errors/all.json b/tests/results/test/04_1jinja_and_hidden/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/04_1jinja_and_hidden/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/04_1jinja_and_hidden/errors/mandatories.json b/tests/results/test/04_1jinja_and_hidden/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/04_1jinja_and_hidden/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/04_1jinja_and_hidden/file/all.env b/tests/results/test/04_1jinja_and_hidden/file/all.env new file mode 100644 index 0000000..feb9e12 --- /dev/null +++ b/tests/results/test/04_1jinja_and_hidden/file/all.env @@ -0,0 +1,2 @@ +ROUGAIL_VAR1="True" +ROUGAIL_VAR2="string1" diff --git a/tests/results/test/04_1jinja_and_hidden/file/all_exclude.env b/tests/results/test/04_1jinja_and_hidden/file/all_exclude.env new file mode 100644 index 0000000..feb9e12 --- /dev/null +++ b/tests/results/test/04_1jinja_and_hidden/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL_VAR1="True" +ROUGAIL_VAR2="string1" diff --git a/tests/results/test/04_1jinja_and_hidden/file/mandatories.env b/tests/results/test/04_1jinja_and_hidden/file/mandatories.env new file mode 100644 index 0000000..a010a7a --- /dev/null +++ b/tests/results/test/04_1jinja_and_hidden/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL_VAR2="string1" diff --git a/tests/results/test/04_1jinja_and_hidden/makedict/all.json b/tests/results/test/04_1jinja_and_hidden/makedict/all.json new file mode 100644 index 0000000..88e4ec2 --- /dev/null +++ b/tests/results/test/04_1jinja_and_hidden/makedict/all.json @@ -0,0 +1,3 @@ +{ + "var1": true +} diff --git a/tests/results/test/04_1jinja_and_hidden/makedict/mandatories.json b/tests/results/test/04_1jinja_and_hidden/makedict/mandatories.json new file mode 100644 index 0000000..88e4ec2 --- /dev/null +++ b/tests/results/test/04_1jinja_and_hidden/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "var1": true +} diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive/errors/all.json b/tests/results/test/04_5disabled_calculation_variable_transitive/errors/all.json new file mode 100644 index 0000000..202aa16 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive/errors/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_transitive/errors/mandatories.json new file mode 100644 index 0000000..202aa16 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive/errors/mandatories.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive/file/all.env b/tests/results/test/04_5disabled_calculation_variable_transitive/file/all.env new file mode 100644 index 0000000..8db5e46 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL_CONDITION="True" +ROUGAIL_VARIABLE1="string1" +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive/file/all_exclude.env b/tests/results/test/04_5disabled_calculation_variable_transitive/file/all_exclude.env new file mode 100644 index 0000000..8db5e46 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL_CONDITION="True" +ROUGAIL_VARIABLE1="string1" +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive/file/mandatories.env b/tests/results/test/04_5disabled_calculation_variable_transitive/file/mandatories.env new file mode 100644 index 0000000..39a8f11 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive/file/mandatories.env @@ -0,0 +1,2 @@ +ROUGAIL_VARIABLE1="string1" +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive/makedict/all.json b/tests/results/test/04_5disabled_calculation_variable_transitive/makedict/all.json new file mode 100644 index 0000000..f537995 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive/makedict/all.json @@ -0,0 +1,3 @@ +{ + "condition": true +} diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive/makedict/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_transitive/makedict/mandatories.json new file mode 100644 index 0000000..f537995 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "condition": true +} diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_2/errors/all.json b/tests/results/test/04_5disabled_calculation_variable_transitive_2/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_2/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/all.env b/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/all.env new file mode 100644 index 0000000..79b0cef --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/all.env @@ -0,0 +1,2 @@ +ROUGAIL_CONDITION="True" +ROUGAIL_VARIABLE="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/all_exclude.env b/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/all_exclude.env new file mode 100644 index 0000000..79b0cef --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL_CONDITION="True" +ROUGAIL_VARIABLE="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/mandatories.env b/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/mandatories.env new file mode 100644 index 0000000..0f489bd --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_2/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL_VARIABLE="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_2/makedict/all.json b/tests/results/test/04_5disabled_calculation_variable_transitive_2/makedict/all.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_2/makedict/all.json @@ -0,0 +1 @@ +{} diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json @@ -0,0 +1 @@ +{} diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_3/errors/all.json b/tests/results/test/04_5disabled_calculation_variable_transitive_3/errors/all.json new file mode 100644 index 0000000..202aa16 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_3/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json new file mode 100644 index 0000000..f3b3df9 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/all.env b/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/all.env new file mode 100644 index 0000000..8db5e46 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL_CONDITION="True" +ROUGAIL_VARIABLE1="string1" +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/all_exclude.env b/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/all_exclude.env new file mode 100644 index 0000000..8db5e46 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL_CONDITION="True" +ROUGAIL_VARIABLE1="string1" +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/mandatories.env b/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/mandatories.env new file mode 100644 index 0000000..6bc6222 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_3/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_3/makedict/all.json b/tests/results/test/04_5disabled_calculation_variable_transitive_3/makedict/all.json new file mode 100644 index 0000000..f537995 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_3/makedict/all.json @@ -0,0 +1,3 @@ +{ + "condition": true +} diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json new file mode 100644 index 0000000..aa10904 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "condition": false, + "variable1": "disabled" +} diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_4/errors/all.json b/tests/results/test/04_5disabled_calculation_variable_transitive_4/errors/all.json new file mode 100644 index 0000000..202aa16 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_4/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json new file mode 100644 index 0000000..1b10678 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/all.env b/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/all.env new file mode 100644 index 0000000..8db5e46 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL_CONDITION="True" +ROUGAIL_VARIABLE1="string1" +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/all_exclude.env b/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/all_exclude.env new file mode 100644 index 0000000..8db5e46 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL_CONDITION="True" +ROUGAIL_VARIABLE1="string1" +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/mandatories.env b/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/mandatories.env new file mode 100644 index 0000000..6bc6222 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_4/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL_VARIABLE2="string1" diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_4/makedict/all.json b/tests/results/test/04_5disabled_calculation_variable_transitive_4/makedict/all.json new file mode 100644 index 0000000..f537995 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_4/makedict/all.json @@ -0,0 +1,3 @@ +{ + "condition": true +} diff --git a/tests/results/test/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json new file mode 100644 index 0000000..f537995 --- /dev/null +++ b/tests/results/test/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "condition": true +} diff --git a/tests/results/test/60_0family_dynamic_source_hidden/errors/all.json b/tests/results/test/60_0family_dynamic_source_hidden/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/60_0family_dynamic_source_hidden/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/60_0family_dynamic_source_hidden/errors/mandatories.json b/tests/results/test/60_0family_dynamic_source_hidden/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/60_0family_dynamic_source_hidden/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/60_0family_dynamic_source_hidden/file/all.env b/tests/results/test/60_0family_dynamic_source_hidden/file/all.env index 8c1469d..d8b11b8 100644 --- a/tests/results/test/60_0family_dynamic_source_hidden/file/all.env +++ b/tests/results/test/60_0family_dynamic_source_hidden/file/all.env @@ -1,3 +1,2 @@ -ROUGAIL_VAR="val1,val2" ROUGAIL_DYNVAL1oVAR="string1" ROUGAIL_DYNVAL2.VAR="string1" diff --git a/tests/results/test/60_0family_dynamic_source_hidden/file/mandatories.env b/tests/results/test/60_0family_dynamic_source_hidden/file/mandatories.env new file mode 100644 index 0000000..3518f0f --- /dev/null +++ b/tests/results/test/60_0family_dynamic_source_hidden/file/mandatories.env @@ -0,0 +1,2 @@ +ROUGAIL_DYNVAL1.VAR="string1" +ROUGAIL_DYNVAL2oVAR="string1" diff --git a/tests/results/test/60_5family_dynamic_calc_identifier/errors/all.json b/tests/results/test/60_5family_dynamic_calc_identifier/errors/all.json new file mode 100644 index 0000000..99796e9 --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier/errors/all.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property hidden, it will be ignored when loading from environment variable", + "var2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test/60_5family_dynamic_calc_identifier/errors/mandatories.json b/tests/results/test/60_5family_dynamic_calc_identifier/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/60_5family_dynamic_calc_identifier/file/all.env b/tests/results/test/60_5family_dynamic_calc_identifier/file/all.env new file mode 100644 index 0000000..5a1542c --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier/file/all.env @@ -0,0 +1,5 @@ +ROUGAIL_VAR1="val1,val2" +ROUGAIL_VAR2="string1" +ROUGAIL_DYNVAL1.VAR="string1" +ROUGAIL_DYNVAL2oVAR="string1" +ROUGAIL_VAR3="string1" diff --git a/tests/results/test/60_5family_dynamic_calc_identifier/file/all_exclude.env b/tests/results/test/60_5family_dynamic_calc_identifier/file/all_exclude.env new file mode 100644 index 0000000..fc731e8 --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier/file/all_exclude.env @@ -0,0 +1,4 @@ +ROUGAIL_VAR2="string1" +ROUGAIL_DYNVAL1oVAR="string1" +ROUGAIL_DYNVAL2.VAR="string1" +ROUGAIL_VAR3="string1" diff --git a/tests/results/test/60_5family_dynamic_calc_identifier/file/mandatories.env b/tests/results/test/60_5family_dynamic_calc_identifier/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test/60_5family_dynamic_calc_identifier/makedict/all.json b/tests/results/test/60_5family_dynamic_calc_identifier/makedict/all.json new file mode 100644 index 0000000..d235bae --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier/makedict/all.json @@ -0,0 +1,10 @@ +{ + "var1": [ + "val1", + "val2" + ], + "var2": "val1", + "dynval1.var": "string1", + "dynval2.var": "string1", + "var3": "string1" +} diff --git a/tests/results/test/60_5family_dynamic_calc_identifier/makedict/mandatories.json b/tests/results/test/60_5family_dynamic_calc_identifier/makedict/mandatories.json new file mode 100644 index 0000000..4c9db3b --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier/makedict/mandatories.json @@ -0,0 +1,10 @@ +{ + "var1": [ + "val1", + "val2" + ], + "var2": "val1", + "dynval1.var": "val1", + "dynval2.var": "val2", + "var3": "val1" +} diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi/errors/all.json b/tests/results/test/60_5family_dynamic_calc_identifier_multi/errors/all.json new file mode 100644 index 0000000..99796e9 --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi/errors/all.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property hidden, it will be ignored when loading from environment variable", + "var2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json b/tests/results/test/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/all.env b/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/all.env new file mode 100644 index 0000000..20e595c --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/all.env @@ -0,0 +1,5 @@ +ROUGAIL_VAR1="val1,val2" +ROUGAIL_VAR2="string1" +ROUGAIL_DYNVAL1.VAR="string1,string2,string3" +ROUGAIL_DYNVAL2oVAR="string1,string2,string3" +ROUGAIL_VAR3="string1,string2,string3" diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/all_exclude.env b/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/all_exclude.env new file mode 100644 index 0000000..11069b2 --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/all_exclude.env @@ -0,0 +1,4 @@ +ROUGAIL_VAR2="string1" +ROUGAIL_DYNVAL1oVAR="string1,string2,string3" +ROUGAIL_DYNVAL2.VAR="string1,string2,string3" +ROUGAIL_VAR3="string1,string2,string3" diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/mandatories.env b/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi/makedict/all.json b/tests/results/test/60_5family_dynamic_calc_identifier_multi/makedict/all.json new file mode 100644 index 0000000..0c3aa33 --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi/makedict/all.json @@ -0,0 +1,22 @@ +{ + "var1": [ + "val1", + "val2" + ], + "var2": "val1", + "dynval1.var": [ + "string1", + "string2", + "string3" + ], + "dynval2.var": [ + "string1", + "string2", + "string3" + ], + "var3": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json b/tests/results/test/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json new file mode 100644 index 0000000..4409d21 --- /dev/null +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json @@ -0,0 +1,16 @@ +{ + "var1": [ + "val1", + "val2" + ], + "var2": "val1", + "dynval1.var": [ + "val1" + ], + "dynval2.var": [ + "val2" + ], + "var3": [ + "val1" + ] +} diff --git a/tests/results/test/60_6family_subdynamic_inside/errors/all.json b/tests/results/test/60_6family_subdynamic_inside/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/60_6family_subdynamic_inside/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/60_6family_subdynamic_inside/errors/mandatories.json b/tests/results/test/60_6family_subdynamic_inside/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/60_6family_subdynamic_inside/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/60_6family_subdynamic_inside/file/all.env b/tests/results/test/60_6family_subdynamic_inside/file/all.env new file mode 100644 index 0000000..dc8a959 --- /dev/null +++ b/tests/results/test/60_6family_subdynamic_inside/file/all.env @@ -0,0 +1,9 @@ +ROUGAIL_VAR="val1,val2" +ROUGAIL_DYNVAL1oDYNVAL1oVAR1="string1" +ROUGAIL_DYNVAL1.DYNVAL1.VAR2="string1,string2,string3" +ROUGAIL_DYNVAL1oDYNVAL2oVAR1="string1" +ROUGAIL_DYNVAL1.DYNVAL2.VAR2="string1,string2,string3" +ROUGAIL_DYNVAL2oDYNVAL1oVAR1="string1" +ROUGAIL_DYNVAL2.DYNVAL1.VAR2="string1,string2,string3" +ROUGAIL_DYNVAL2oDYNVAL2oVAR1="string1" +ROUGAIL_DYNVAL2.DYNVAL2.VAR2="string1,string2,string3" diff --git a/tests/results/test/60_6family_subdynamic_inside/file/all_exclude.env b/tests/results/test/60_6family_subdynamic_inside/file/all_exclude.env new file mode 100644 index 0000000..e5cbd9c --- /dev/null +++ b/tests/results/test/60_6family_subdynamic_inside/file/all_exclude.env @@ -0,0 +1,8 @@ +ROUGAIL_DYNVAL1.DYNVAL1.VAR1="string1" +ROUGAIL_DYNVAL1oDYNVAL1oVAR2="string1,string2,string3" +ROUGAIL_DYNVAL1.DYNVAL2.VAR1="string1" +ROUGAIL_DYNVAL1oDYNVAL2oVAR2="string1,string2,string3" +ROUGAIL_DYNVAL2.DYNVAL1.VAR1="string1" +ROUGAIL_DYNVAL2oDYNVAL1oVAR2="string1,string2,string3" +ROUGAIL_DYNVAL2.DYNVAL2.VAR1="string1" +ROUGAIL_DYNVAL2oDYNVAL2oVAR2="string1,string2,string3" diff --git a/tests/results/test/60_6family_subdynamic_inside/file/mandatories.env b/tests/results/test/60_6family_subdynamic_inside/file/mandatories.env new file mode 100644 index 0000000..436f408 --- /dev/null +++ b/tests/results/test/60_6family_subdynamic_inside/file/mandatories.env @@ -0,0 +1,7 @@ +ROUGAIL_DYNVAL1.DYNVAL1.VAR1="string1" +ROUGAIL_DYNVAL1oDYNVAL1oVAR2="string1,string2,string3" +ROUGAIL_DYNVAL1.DYNVAL2.VAR1="string1" +ROUGAIL_DYNVAL1oDYNVAL2oVAR2="string1,string2,string3" +ROUGAIL_DYNVAL2.DYNVAL1.VAR1="string1" +ROUGAIL_DYNVAL2oDYNVAL1oVAR2="string1,string2,string3" +ROUGAIL_DYNVAL2.DYNVAL2.VAR1="string1" diff --git a/tests/results/test/60_6family_subdynamic_inside/makedict/all.json b/tests/results/test/60_6family_subdynamic_inside/makedict/all.json new file mode 100644 index 0000000..648c73f --- /dev/null +++ b/tests/results/test/60_6family_subdynamic_inside/makedict/all.json @@ -0,0 +1,30 @@ +{ + "var": [ + "val1", + "val2" + ], + "dynval1.dynval1.var1": "string1", + "dynval1.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "dynval1.dynval2.var1": "string1", + "dynval1.dynval2.var2": [ + "string1", + "string2", + "string3" + ], + "dynval2.dynval1.var1": "string1", + "dynval2.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "dynval2.dynval2.var1": "string1", + "dynval2.dynval2.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/test/60_6family_subdynamic_inside/makedict/mandatories.json b/tests/results/test/60_6family_subdynamic_inside/makedict/mandatories.json new file mode 100644 index 0000000..7027648 --- /dev/null +++ b/tests/results/test/60_6family_subdynamic_inside/makedict/mandatories.json @@ -0,0 +1,29 @@ +{ + "var": [ + "val1", + "val2" + ], + "dynval1.dynval1.var1": "string1", + "dynval1.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "dynval1.dynval2.var1": "string1", + "dynval1.dynval2.var2": [ + "string1", + "string2", + "string3" + ], + "dynval2.dynval1.var1": "string1", + "dynval2.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "dynval2.dynval2.var1": "string1", + "dynval2.dynval2.var2": [ + "string1", + "string1" + ] +} diff --git a/tests/results/test_namespace/00_2default_calculated_params_permissive/errors/all.json b/tests/results/test_namespace/00_2default_calculated_params_permissive/errors/all.json index af7e44b..7faaf45 100644 --- a/tests/results/test_namespace/00_2default_calculated_params_permissive/errors/all.json +++ b/tests/results/test_namespace/00_2default_calculated_params_permissive/errors/all.json @@ -10,21 +10,21 @@ ], [ [ - "variable \"var2\" (a first variable) at index \"0\" is hidden, it will be ignored when loading from environment variable", + "family \"leadership\" is hidden, \"var2\" (a first variable) at index \"0\", it will be ignored when loading from environment variable", "rougail.leadership.var2", null ] ], [ [ - "variable \"var2\" (a first variable) at index \"1\" is hidden, it will be ignored when loading from environment variable", + "index \"1\" is greater than the leadership length \"1\" for option \"var2\" (a first variable), it will be ignored when loading from environment variable", "rougail.leadership.var2", null ] ], [ [ - "variable \"var2\" (a first variable) at index \"2\" is hidden, it will be ignored when loading from environment variable", + "index \"2\" is greater than the leadership length \"1\" for option \"var2\" (a first variable), it will be ignored when loading from environment variable", "rougail.leadership.var2", null ] diff --git a/tests/results/test_namespace/04_1jinja_and_hidden/errors/all.json b/tests/results/test_namespace/04_1jinja_and_hidden/errors/all.json new file mode 100644 index 0000000..7fc4f86 --- /dev/null +++ b/tests/results/test_namespace/04_1jinja_and_hidden/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property hidden, it will be ignored when loading from environment variable", + "rougail.var1", + null + ] + ], + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.var2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_1jinja_and_hidden/errors/mandatories.json b/tests/results/test_namespace/04_1jinja_and_hidden/errors/mandatories.json new file mode 100644 index 0000000..a4f5ad4 --- /dev/null +++ b/tests/results/test_namespace/04_1jinja_and_hidden/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.var2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_1jinja_and_hidden/file/all.env b/tests/results/test_namespace/04_1jinja_and_hidden/file/all.env new file mode 100644 index 0000000..5c35000 --- /dev/null +++ b/tests/results/test_namespace/04_1jinja_and_hidden/file/all.env @@ -0,0 +1,2 @@ +ROUGAIL.VAR1="True" +ROUGAILoVAR2="string1" diff --git a/tests/results/test_namespace/04_1jinja_and_hidden/file/all_exclude.env b/tests/results/test_namespace/04_1jinja_and_hidden/file/all_exclude.env new file mode 100644 index 0000000..5c35000 --- /dev/null +++ b/tests/results/test_namespace/04_1jinja_and_hidden/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL.VAR1="True" +ROUGAILoVAR2="string1" diff --git a/tests/results/test_namespace/04_1jinja_and_hidden/file/mandatories.env b/tests/results/test_namespace/04_1jinja_and_hidden/file/mandatories.env new file mode 100644 index 0000000..5640f89 --- /dev/null +++ b/tests/results/test_namespace/04_1jinja_and_hidden/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.VAR2="string1" diff --git a/tests/results/test_namespace/04_1jinja_and_hidden/makedict/all.json b/tests/results/test_namespace/04_1jinja_and_hidden/makedict/all.json new file mode 100644 index 0000000..2460cca --- /dev/null +++ b/tests/results/test_namespace/04_1jinja_and_hidden/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.var1": true +} diff --git a/tests/results/test_namespace/04_1jinja_and_hidden/makedict/mandatories.json b/tests/results/test_namespace/04_1jinja_and_hidden/makedict/mandatories.json new file mode 100644 index 0000000..2460cca --- /dev/null +++ b/tests/results/test_namespace/04_1jinja_and_hidden/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var1": true +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/errors/all.json new file mode 100644 index 0000000..bbda033 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/errors/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/errors/mandatories.json new file mode 100644 index 0000000..bbda033 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/errors/mandatories.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/all.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/all.env new file mode 100644 index 0000000..49894cb --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL.CONDITION="True" +ROUGAILoVARIABLE1="string1" +ROUGAIL.VARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/all_exclude.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/all_exclude.env new file mode 100644 index 0000000..49894cb --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL.CONDITION="True" +ROUGAILoVARIABLE1="string1" +ROUGAIL.VARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/mandatories.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/mandatories.env new file mode 100644 index 0000000..c19db25 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/file/mandatories.env @@ -0,0 +1,2 @@ +ROUGAIL.VARIABLE1="string1" +ROUGAILoVARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/makedict/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/makedict/all.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/makedict/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/makedict/mandatories.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/errors/all.json new file mode 100644 index 0000000..fd1d338 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.condition", + null + ] + ], + [ + [ + "family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from environment variable", + "rougail.variable", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json new file mode 100644 index 0000000..f97a035 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from environment variable", + "rougail.variable", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/all.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/all.env new file mode 100644 index 0000000..69d8d24 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/all.env @@ -0,0 +1,2 @@ +ROUGAIL.CONDITION="True" +ROUGAILoVARIABLE="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/all_exclude.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/all_exclude.env new file mode 100644 index 0000000..69d8d24 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL.CONDITION="True" +ROUGAILoVARIABLE="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/mandatories.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/mandatories.env new file mode 100644 index 0000000..6a36f07 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.VARIABLE="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/makedict/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/makedict/all.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/makedict/all.json @@ -0,0 +1 @@ +{} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json @@ -0,0 +1 @@ +{} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/errors/all.json new file mode 100644 index 0000000..bbda033 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json new file mode 100644 index 0000000..8964590 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/all.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/all.env new file mode 100644 index 0000000..49894cb --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL.CONDITION="True" +ROUGAILoVARIABLE1="string1" +ROUGAIL.VARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/all_exclude.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/all_exclude.env new file mode 100644 index 0000000..49894cb --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL.CONDITION="True" +ROUGAILoVARIABLE1="string1" +ROUGAIL.VARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/mandatories.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/mandatories.env new file mode 100644 index 0000000..27f19a7 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.VARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/makedict/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/makedict/all.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json new file mode 100644 index 0000000..df8cfb1 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.condition": false, + "rougail.variable1": "disabled" +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/errors/all.json new file mode 100644 index 0000000..bbda033 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json new file mode 100644 index 0000000..b4e5264 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from environment variable", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/all.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/all.env new file mode 100644 index 0000000..49894cb --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL.CONDITION="True" +ROUGAILoVARIABLE1="string1" +ROUGAIL.VARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/all_exclude.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/all_exclude.env new file mode 100644 index 0000000..49894cb --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL.CONDITION="True" +ROUGAILoVARIABLE1="string1" +ROUGAIL.VARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/mandatories.env b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/mandatories.env new file mode 100644 index 0000000..27f19a7 --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.VARIABLE2="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/makedict/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/makedict/all.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/errors/all.json b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/errors/mandatories.json b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/all.env b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/all.env new file mode 100644 index 0000000..867387f --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/all.env @@ -0,0 +1,4 @@ +ROUGAIL.VAR="1,2" +ROUGAILoDYN1oVAR="string1" +ROUGAIL.DYN2.VAR="string1" +ROUGAILoVAR2="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/all_exclude.env b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/all_exclude.env new file mode 100644 index 0000000..487b509 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL.DYN1.VAR="string1" +ROUGAILoDYN2oVAR="string1" +ROUGAIL.VAR2="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/mandatories.env b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/mandatories.env new file mode 100644 index 0000000..5640f89 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.VAR2="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/makedict/all.json b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/makedict/all.json new file mode 100644 index 0000000..d429469 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/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/test_namespace/60_0family_dynamic_jinja_integer_empty2/makedict/mandatories.json b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/makedict/mandatories.json new file mode 100644 index 0000000..f5b0199 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_jinja_integer_empty2/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var": [], + "rougail.var2": "string1" +} diff --git a/tests/results/test_namespace/60_0family_dynamic_source_hidden/errors/all.json b/tests/results/test_namespace/60_0family_dynamic_source_hidden/errors/all.json new file mode 100644 index 0000000..d6ba0ed --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_source_hidden/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} diff --git a/tests/results/test_namespace/60_0family_dynamic_source_hidden/errors/mandatories.json b/tests/results/test_namespace/60_0family_dynamic_source_hidden/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_source_hidden/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/all.env b/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/all.env new file mode 100644 index 0000000..1fa7277 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/all.env @@ -0,0 +1,2 @@ +ROUGAILoDYNVAL1oVAR="string1" +ROUGAIL.DYNVAL2.VAR="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/all_exclude.env b/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/all_exclude.env new file mode 100644 index 0000000..2ab4cd5 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAILoDYNVAL2oVAR="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/mandatories.env b/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/mandatories.env new file mode 100644 index 0000000..2ab4cd5 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_source_hidden/file/mandatories.env @@ -0,0 +1,2 @@ +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAILoDYNVAL2oVAR="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_source_hidden/makedict/mandatories.json b/tests/results/test_namespace/60_0family_dynamic_source_hidden/makedict/mandatories.json new file mode 100644 index 0000000..ee96b68 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_source_hidden/makedict/mandatories.json @@ -0,0 +1,8 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1" +} diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier/errors/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/errors/all.json new file mode 100644 index 0000000..3129ad2 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/errors/all.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property hidden, it will be ignored when loading from environment variable", + "rougail.var2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier/errors/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/all.env b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/all.env new file mode 100644 index 0000000..256cd17 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/all.env @@ -0,0 +1,5 @@ +ROUGAIL.VAR1="val1,val2" +ROUGAILoVAR2="string1" +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAILoDYNVAL2oVAR="string1" +ROUGAIL.VAR3="string1" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/all_exclude.env b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/all_exclude.env new file mode 100644 index 0000000..fe4c9ca --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/all_exclude.env @@ -0,0 +1,4 @@ +ROUGAIL.VAR2="string1" +ROUGAILoDYNVAL1oVAR="string1" +ROUGAIL.DYNVAL2.VAR="string1" +ROUGAILoVAR3="string1" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/mandatories.env b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier/makedict/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/makedict/all.json new file mode 100644 index 0000000..d7c953a --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/makedict/all.json @@ -0,0 +1,10 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "val1", + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1", + "rougail.var3": "string1" +} diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier/makedict/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/makedict/mandatories.json new file mode 100644 index 0000000..593e21e --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier/makedict/mandatories.json @@ -0,0 +1,10 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "val1", + "rougail.dynval1.var": "val1", + "rougail.dynval2.var": "val2", + "rougail.var3": "val1" +} diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/errors/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/errors/all.json new file mode 100644 index 0000000..3129ad2 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/errors/all.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property hidden, it will be ignored when loading from environment variable", + "rougail.var2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/all.env b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/all.env new file mode 100644 index 0000000..fc5b097 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/all.env @@ -0,0 +1,5 @@ +ROUGAIL.VAR1="val1,val2" +ROUGAILoVAR2="string1" +ROUGAIL.DYNVAL1.VAR="string1,string2,string3" +ROUGAILoDYNVAL2oVAR="string1,string2,string3" +ROUGAIL.VAR3="string1,string2,string3" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/all_exclude.env b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/all_exclude.env new file mode 100644 index 0000000..ed7a010 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/all_exclude.env @@ -0,0 +1,4 @@ +ROUGAIL.VAR2="string1" +ROUGAILoDYNVAL1oVAR="string1,string2,string3" +ROUGAIL.DYNVAL2.VAR="string1,string2,string3" +ROUGAILoVAR3="string1,string2,string3" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/mandatories.env b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/makedict/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/makedict/all.json new file mode 100644 index 0000000..fb09f0f --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/makedict/all.json @@ -0,0 +1,22 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "val1", + "rougail.dynval1.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.var": [ + "string1", + "string2", + "string3" + ], + "rougail.var3": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json new file mode 100644 index 0000000..895253b --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json @@ -0,0 +1,16 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "val1", + "rougail.dynval1.var": [ + "val1" + ], + "rougail.dynval2.var": [ + "val2" + ], + "rougail.var3": [ + "val1" + ] +} diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/all.json index 6d0cec4..9339076 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/all.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/all.json @@ -7,13 +7,6 @@ "rougail.dynval1.var", null ] - ], - [ - [ - "variable has property disabled, it will be ignored when loading from environment variable", - "rougail.dynval2.var", - null - ] ] ] } \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/mandatories.json index 217db0a..9339076 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/mandatories.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/mandatories.json @@ -1,4 +1,12 @@ { "errors": [], - "warnings": [] + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.dynval1.var", + null + ] + ] + ] } \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all.env b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all.env index d7af64f..fd9c9c5 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all.env +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all.env @@ -1,4 +1,3 @@ -ROUGAIL.VAR1="val1,val2" +ROUGAIL.VAR1="val1" ROUGAILoDYNVAL1oVAR="string1" -ROUGAIL.DYNVAL2.VAR="string1" -ROUGAILoVAR2="string1" +ROUGAIL.VAR2="string1" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.env b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.env index 4b60144..65e249e 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.env +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.env @@ -1,3 +1,2 @@ ROUGAIL.DYNVAL1.VAR="string1" -ROUGAILoDYNVAL2oVAR="string1" -ROUGAIL.VAR2="string1" +ROUGAILoVAR2="string1" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.env b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.env index 5640f89..943499b 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.env +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.env @@ -1 +1 @@ -ROUGAIL.VAR2="string1" +ROUGAIL.DYNVAL1.VAR="string1" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/all.json index 32ce3c8..b6a4134 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/all.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/all.json @@ -1,7 +1,6 @@ { "rougail.var1": [ - "val1", - "val2" + "val1" ], "rougail.var2": "string1" } diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json index 9cc7b99..45b545c 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json @@ -1,4 +1,6 @@ { - "rougail.var1": [], - "rougail.var2": "string1" + "rougail.var1": [ + "val1" + ], + "rougail.var2": null } diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/errors/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/errors/all.json new file mode 100644 index 0000000..6d0cec4 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.dynval1.var", + null + ] + ], + [ + [ + "variable has property disabled, it will be ignored when loading from environment variable", + "rougail.dynval2.var", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/errors/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/all.env b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/all.env new file mode 100644 index 0000000..d7af64f --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/all.env @@ -0,0 +1,4 @@ +ROUGAIL.VAR1="val1,val2" +ROUGAILoDYNVAL1oVAR="string1" +ROUGAIL.DYNVAL2.VAR="string1" +ROUGAILoVAR2="string1" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/all_exclude.env b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/all_exclude.env new file mode 100644 index 0000000..4b60144 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAILoDYNVAL2oVAR="string1" +ROUGAIL.VAR2="string1" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/mandatories.env b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/mandatories.env new file mode 100644 index 0000000..5640f89 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.VAR2="string1" diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/makedict/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/makedict/all.json new file mode 100644 index 0000000..32ce3c8 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/makedict/all.json @@ -0,0 +1,7 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "string1" +} diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/makedict/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/makedict/mandatories.json new file mode 100644 index 0000000..9cc7b99 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": [], + "rougail.var2": "string1" +} diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier/errors/all.json b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier/errors/mandatories.json b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/all.env b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/all.env new file mode 100644 index 0000000..4ac6da9 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/all.env @@ -0,0 +1,9 @@ +ROUGAIL.VAR="val1,val2" +ROUGAILoVAL1_DYNoVAR1="string1" +ROUGAIL.VAL1_DYN.VAR2="string1" +ROUGAILoVAL1_DYNoVAR3="string1" +ROUGAIL.VAL1_DYN.VAR4="string1" +ROUGAILoVAL2_DYNoVAR1="string1" +ROUGAIL.VAL2_DYN.VAR2="string1" +ROUGAILoVAL2_DYNoVAR3="string1" +ROUGAIL.VAL2_DYN.VAR4="string1" diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/all_exclude.env b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/all_exclude.env new file mode 100644 index 0000000..37b40d7 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/all_exclude.env @@ -0,0 +1,8 @@ +ROUGAIL.VAL1_DYN.VAR1="string1" +ROUGAILoVAL1_DYNoVAR2="string1" +ROUGAIL.VAL1_DYN.VAR3="string1" +ROUGAILoVAL1_DYNoVAR4="string1" +ROUGAIL.VAL2_DYN.VAR1="string1" +ROUGAILoVAL2_DYNoVAR2="string1" +ROUGAIL.VAL2_DYN.VAR3="string1" +ROUGAILoVAL2_DYNoVAR4="string1" diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/mandatories.env b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier/makedict/all.json b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/makedict/all.json new file mode 100644 index 0000000..7225362 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/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/test_namespace/60_6family_dynamic_inside_identifier/makedict/mandatories.json b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/makedict/mandatories.json new file mode 100644 index 0000000..a34bde9 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier/makedict/mandatories.json @@ -0,0 +1,14 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.val1_dyn.var1": "val1", + "rougail.val1_dyn.var2": "val1", + "rougail.val1_dyn.var3": "val1", + "rougail.val1_dyn.var4": "val1", + "rougail.val2_dyn.var1": "val2", + "rougail.val2_dyn.var2": "val2", + "rougail.val2_dyn.var3": "val2", + "rougail.val2_dyn.var4": "val1" +} diff --git a/tests/results/test_namespace/60_6family_subdynamic_inside/errors/all.json b/tests/results/test_namespace/60_6family_subdynamic_inside/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_6family_subdynamic_inside/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_subdynamic_inside/errors/mandatories.json b/tests/results/test_namespace/60_6family_subdynamic_inside/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_6family_subdynamic_inside/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_subdynamic_inside/file/all.env b/tests/results/test_namespace/60_6family_subdynamic_inside/file/all.env new file mode 100644 index 0000000..c47bba8 --- /dev/null +++ b/tests/results/test_namespace/60_6family_subdynamic_inside/file/all.env @@ -0,0 +1,9 @@ +ROUGAIL.VAR="val1,val2" +ROUGAILoDYNVAL1oDYNVAL1oVAR1="string1" +ROUGAIL.DYNVAL1.DYNVAL1.VAR2="string1,string2,string3" +ROUGAILoDYNVAL1oDYNVAL2oVAR1="string1" +ROUGAIL.DYNVAL1.DYNVAL2.VAR2="string1,string2,string3" +ROUGAILoDYNVAL2oDYNVAL1oVAR1="string1" +ROUGAIL.DYNVAL2.DYNVAL1.VAR2="string1,string2,string3" +ROUGAILoDYNVAL2oDYNVAL2oVAR1="string1" +ROUGAIL.DYNVAL2.DYNVAL2.VAR2="string1,string2,string3" diff --git a/tests/results/test_namespace/60_6family_subdynamic_inside/file/all_exclude.env b/tests/results/test_namespace/60_6family_subdynamic_inside/file/all_exclude.env new file mode 100644 index 0000000..6d74853 --- /dev/null +++ b/tests/results/test_namespace/60_6family_subdynamic_inside/file/all_exclude.env @@ -0,0 +1,8 @@ +ROUGAIL.DYNVAL1.DYNVAL1.VAR1="string1" +ROUGAILoDYNVAL1oDYNVAL1oVAR2="string1,string2,string3" +ROUGAIL.DYNVAL1.DYNVAL2.VAR1="string1" +ROUGAILoDYNVAL1oDYNVAL2oVAR2="string1,string2,string3" +ROUGAIL.DYNVAL2.DYNVAL1.VAR1="string1" +ROUGAILoDYNVAL2oDYNVAL1oVAR2="string1,string2,string3" +ROUGAIL.DYNVAL2.DYNVAL2.VAR1="string1" +ROUGAILoDYNVAL2oDYNVAL2oVAR2="string1,string2,string3" diff --git a/tests/results/test_namespace/60_6family_subdynamic_inside/file/mandatories.env b/tests/results/test_namespace/60_6family_subdynamic_inside/file/mandatories.env new file mode 100644 index 0000000..bf4f6b7 --- /dev/null +++ b/tests/results/test_namespace/60_6family_subdynamic_inside/file/mandatories.env @@ -0,0 +1,7 @@ +ROUGAIL.DYNVAL1.DYNVAL1.VAR1="string1" +ROUGAILoDYNVAL1oDYNVAL1oVAR2="string1,string2,string3" +ROUGAIL.DYNVAL1.DYNVAL2.VAR1="string1" +ROUGAILoDYNVAL1oDYNVAL2oVAR2="string1,string2,string3" +ROUGAIL.DYNVAL2.DYNVAL1.VAR1="string1" +ROUGAILoDYNVAL2oDYNVAL1oVAR2="string1,string2,string3" +ROUGAIL.DYNVAL2.DYNVAL2.VAR1="string1" diff --git a/tests/results/test_namespace/60_6family_subdynamic_inside/makedict/all.json b/tests/results/test_namespace/60_6family_subdynamic_inside/makedict/all.json new file mode 100644 index 0000000..bc271b2 --- /dev/null +++ b/tests/results/test_namespace/60_6family_subdynamic_inside/makedict/all.json @@ -0,0 +1,30 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.dynval1.var1": "string1", + "rougail.dynval1.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval1.dynval2.var1": "string1", + "rougail.dynval1.dynval2.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dynval1.var1": "string1", + "rougail.dynval2.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dynval2.var1": "string1", + "rougail.dynval2.dynval2.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/test_namespace/60_6family_subdynamic_inside/makedict/mandatories.json b/tests/results/test_namespace/60_6family_subdynamic_inside/makedict/mandatories.json new file mode 100644 index 0000000..a7baf78 --- /dev/null +++ b/tests/results/test_namespace/60_6family_subdynamic_inside/makedict/mandatories.json @@ -0,0 +1,29 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.dynval1.var1": "string1", + "rougail.dynval1.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval1.dynval2.var1": "string1", + "rougail.dynval1.dynval2.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dynval1.var1": "string1", + "rougail.dynval2.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dynval2.var1": "string1", + "rougail.dynval2.dynval2.var2": [ + "string1", + "string1" + ] +} diff --git a/tests/test_load.py b/tests/test_load.py index a2e01cd..36cbbec 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -18,10 +18,11 @@ save = os.environ.copy() ######################### -excludes = ["60_0family_dynamic_source_hidden"] +excludes = [ +] test_ok = get_structures_list(excludes) -# test_ok = [Path('../rougail-tests/structures/60_0family_dynamic_1_0_empty')] +# test_ok = [Path('../rougail-tests/structures/60_5family_dynamic_calc_suffix_disabled2')] def idfn(fixture_value):