diff --git a/tests/results/test/00_6secret/file/all.env b/tests/results/test/00_6secret/file/all.env index a4e648b..17fff0c 100644 --- a/tests/results/test/00_6secret/file/all.env +++ b/tests/results/test/00_6secret/file/all.env @@ -1,2 +1,2 @@ -ROUGAIL_SECRET1="string1" -ROUGAIL_SECRET2="string1" +ROUGAIL_SECRET1="onE7vaLues_len1" +ROUGAIL_SECRET2="onE7vaLues_len1" diff --git a/tests/results/test/00_6secret/file/all_exclude.env b/tests/results/test/00_6secret/file/all_exclude.env index a4e648b..17fff0c 100644 --- a/tests/results/test/00_6secret/file/all_exclude.env +++ b/tests/results/test/00_6secret/file/all_exclude.env @@ -1,2 +1,2 @@ -ROUGAIL_SECRET1="string1" -ROUGAIL_SECRET2="string1" +ROUGAIL_SECRET1="onE7vaLues_len1" +ROUGAIL_SECRET2="onE7vaLues_len1" diff --git a/tests/results/test/00_6secret/file/mandatories.env b/tests/results/test/00_6secret/file/mandatories.env index 4db28b4..2339bd1 100644 --- a/tests/results/test/00_6secret/file/mandatories.env +++ b/tests/results/test/00_6secret/file/mandatories.env @@ -1 +1 @@ -ROUGAIL_SECRET1="string1" +ROUGAIL_SECRET1="onE7vaLues_len1" diff --git a/tests/results/test/00_6secret/makedict/all.json b/tests/results/test/00_6secret/makedict/all.json index e7ce697..e901f5c 100644 --- a/tests/results/test/00_6secret/makedict/all.json +++ b/tests/results/test/00_6secret/makedict/all.json @@ -1,4 +1,4 @@ { - "secret1": "string1", - "secret2": "string1" + "secret1": "onE7vaLues_len1", + "secret2": "onE7vaLues_len1" } diff --git a/tests/results/test/00_6secret/makedict/mandatories.json b/tests/results/test/00_6secret/makedict/mandatories.json index 07b61de..003500c 100644 --- a/tests/results/test/00_6secret/makedict/mandatories.json +++ b/tests/results/test/00_6secret/makedict/mandatories.json @@ -1,4 +1,4 @@ { - "secret1": "string1", + "secret1": "onE7vaLues_len1", "secret2": "value" } diff --git a/tests/results/test/04_1default_calculation_hidden/errors/mandatories.json b/tests/results/test/04_1default_calculation_hidden/errors/mandatories.json index 67c39ca..faaf5ad 100644 --- a/tests/results/test/04_1default_calculation_hidden/errors/mandatories.json +++ b/tests/results/test/04_1default_calculation_hidden/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"var2\" (a second variable) because has property \"disabled\"" + "cannot access to option \"var2\" (a second variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_1default_calculation_hidden_2/errors/mandatories.json b/tests/results/test/04_1default_calculation_hidden_2/errors/mandatories.json index 67c39ca..faaf5ad 100644 --- a/tests/results/test/04_1default_calculation_hidden_2/errors/mandatories.json +++ b/tests/results/test/04_1default_calculation_hidden_2/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"var2\" (a second variable) because has property \"disabled\"" + "cannot access to option \"var2\" (a second variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_optional/errors/all.json b/tests/results/test/04_5disabled_calculation_optional/errors/all.json index d3d5388..7406904 100644 --- a/tests/results/test/04_5disabled_calculation_optional/errors/all.json +++ b/tests/results/test/04_5disabled_calculation_optional/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"var1\" (a first variable) because has property \"hidden\" (unknown is undefined)" + "cannot access to option \"var1\" (a first variable) because has property \"hidden\" (unknown is undefined) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable/errors/all.json b/tests/results/test/04_5disabled_calculation_variable/errors/all.json index 893da69..c64385a 100644 --- a/tests/results/test/04_5disabled_calculation_variable/errors/all.json +++ b/tests/results/test/04_5disabled_calculation_variable/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable2/errors/all.json b/tests/results/test/04_5disabled_calculation_variable2/errors/all.json index 893da69..c64385a 100644 --- a/tests/results/test/04_5disabled_calculation_variable2/errors/all.json +++ b/tests/results/test/04_5disabled_calculation_variable2/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable2/errors/mandatories.json b/tests/results/test/04_5disabled_calculation_variable2/errors/mandatories.json index 893da69..c64385a 100644 --- a/tests/results/test/04_5disabled_calculation_variable2/errors/mandatories.json +++ b/tests/results/test/04_5disabled_calculation_variable2/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable3/errors/mandatories.json b/tests/results/test/04_5disabled_calculation_variable3/errors/mandatories.json index 893da69..c64385a 100644 --- a/tests/results/test/04_5disabled_calculation_variable3/errors/mandatories.json +++ b/tests/results/test/04_5disabled_calculation_variable3/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable4/errors/all.json b/tests/results/test/04_5disabled_calculation_variable4/errors/all.json index 893da69..c64385a 100644 --- a/tests/results/test/04_5disabled_calculation_variable4/errors/all.json +++ b/tests/results/test/04_5disabled_calculation_variable4/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_multi/errors/all.json b/tests/results/test/04_5disabled_calculation_variable_multi/errors/all.json index 893da69..c64385a 100644 --- a/tests/results/test/04_5disabled_calculation_variable_multi/errors/all.json +++ b/tests/results/test/04_5disabled_calculation_variable_multi/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_multi2/file/all.env b/tests/results/test/04_5disabled_calculation_variable_multi2/file/all.env deleted file mode 100644 index 5c8cf1f..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi2/file/all.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL_CONDITION="string1,string2,string3" -ROUGAIL_VARIABLE="string1,string2,string3" diff --git a/tests/results/test/04_5disabled_calculation_variable_multi2/file/all_exclude.env b/tests/results/test/04_5disabled_calculation_variable_multi2/file/all_exclude.env deleted file mode 100644 index 5c8cf1f..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi2/file/all_exclude.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL_CONDITION="string1,string2,string3" -ROUGAIL_VARIABLE="string1,string2,string3" diff --git a/tests/results/test/04_5disabled_calculation_variable_multi2/file/mandatories.env b/tests/results/test/04_5disabled_calculation_variable_multi2/file/mandatories.env deleted file mode 100644 index 5c8cf1f..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi2/file/mandatories.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL_CONDITION="string1,string2,string3" -ROUGAIL_VARIABLE="string1,string2,string3" diff --git a/tests/results/test/04_5disabled_calculation_variable_multi2/makedict/all.json b/tests/results/test/04_5disabled_calculation_variable_multi2/makedict/all.json deleted file mode 100644 index 877caa6..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi2/makedict/all.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "condition": [ - "string1", - "string2", - "string3" - ], - "variable": [ - "string1", - "string2", - "string3" - ] -} diff --git a/tests/results/test/04_5disabled_calculation_variable_multi2/makedict/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_multi2/makedict/mandatories.json deleted file mode 100644 index 877caa6..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi2/makedict/mandatories.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "condition": [ - "string1", - "string2", - "string3" - ], - "variable": [ - "string1", - "string2", - "string3" - ] -} diff --git a/tests/results/test/04_5disabled_calculation_variable_multi3/file/all.env b/tests/results/test/04_5disabled_calculation_variable_multi3/file/all.env deleted file mode 100644 index 5c8cf1f..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi3/file/all.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL_CONDITION="string1,string2,string3" -ROUGAIL_VARIABLE="string1,string2,string3" diff --git a/tests/results/test/04_5disabled_calculation_variable_multi3/file/all_exclude.env b/tests/results/test/04_5disabled_calculation_variable_multi3/file/all_exclude.env deleted file mode 100644 index 5c8cf1f..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi3/file/all_exclude.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL_CONDITION="string1,string2,string3" -ROUGAIL_VARIABLE="string1,string2,string3" diff --git a/tests/results/test/04_5disabled_calculation_variable_multi3/file/mandatories.env b/tests/results/test/04_5disabled_calculation_variable_multi3/file/mandatories.env deleted file mode 100644 index cb9cc7f..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi3/file/mandatories.env +++ /dev/null @@ -1 +0,0 @@ -ROUGAIL_VARIABLE="string1,string2,string3" diff --git a/tests/results/test/04_5disabled_calculation_variable_multi3/makedict/all.json b/tests/results/test/04_5disabled_calculation_variable_multi3/makedict/all.json deleted file mode 100644 index 877caa6..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi3/makedict/all.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "condition": [ - "string1", - "string2", - "string3" - ], - "variable": [ - "string1", - "string2", - "string3" - ] -} diff --git a/tests/results/test/04_5disabled_calculation_variable_multi3/makedict/mandatories.json b/tests/results/test/04_5disabled_calculation_variable_multi3/makedict/mandatories.json deleted file mode 100644 index 9a9e6f3..0000000 --- a/tests/results/test/04_5disabled_calculation_variable_multi3/makedict/mandatories.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "condition": [ - "val1", - "val2" - ], - "variable": [ - "string1", - "string2", - "string3" - ] -} diff --git a/tests/results/test/04_5disabled_calculation_variable_multi2/errors/all.json b/tests/results/test/16_3family_empty_at_ends/errors/all.json similarity index 100% rename from tests/results/test/04_5disabled_calculation_variable_multi2/errors/all.json rename to tests/results/test/16_3family_empty_at_ends/errors/all.json diff --git a/tests/results/test/04_5disabled_calculation_variable_multi2/errors/mandatories.json b/tests/results/test/16_3family_empty_at_ends/errors/mandatories.json similarity index 100% rename from tests/results/test/04_5disabled_calculation_variable_multi2/errors/mandatories.json rename to tests/results/test/16_3family_empty_at_ends/errors/mandatories.json diff --git a/tests/results/test/16_3family_empty_at_ends/file/all.env b/tests/results/test/16_3family_empty_at_ends/file/all.env new file mode 100644 index 0000000..603af01 --- /dev/null +++ b/tests/results/test/16_3family_empty_at_ends/file/all.env @@ -0,0 +1 @@ +ROUGAIL_FAMILY.VAR1="string1" diff --git a/tests/results/test/16_3family_empty_at_ends/file/all_exclude.env b/tests/results/test/16_3family_empty_at_ends/file/all_exclude.env new file mode 100644 index 0000000..603af01 --- /dev/null +++ b/tests/results/test/16_3family_empty_at_ends/file/all_exclude.env @@ -0,0 +1 @@ +ROUGAIL_FAMILY.VAR1="string1" diff --git a/tests/results/test/16_3family_empty_at_ends/file/mandatories.env b/tests/results/test/16_3family_empty_at_ends/file/mandatories.env new file mode 100644 index 0000000..603af01 --- /dev/null +++ b/tests/results/test/16_3family_empty_at_ends/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL_FAMILY.VAR1="string1" diff --git a/tests/results/test/16_3family_empty_at_ends/makedict/all.json b/tests/results/test/16_3family_empty_at_ends/makedict/all.json new file mode 100644 index 0000000..6aae027 --- /dev/null +++ b/tests/results/test/16_3family_empty_at_ends/makedict/all.json @@ -0,0 +1,3 @@ +{ + "family.var1": "string1" +} diff --git a/tests/results/test/16_3family_empty_at_ends/makedict/mandatories.json b/tests/results/test/16_3family_empty_at_ends/makedict/mandatories.json new file mode 100644 index 0000000..6aae027 --- /dev/null +++ b/tests/results/test/16_3family_empty_at_ends/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "family.var1": "string1" +} diff --git a/tests/results/test/24_0family_hidden_condition_variable_sub_family/errors/all.json b/tests/results/test/24_0family_hidden_condition_variable_sub_family/errors/all.json index d1f6703..58fb436 100644 --- a/tests/results/test/24_0family_hidden_condition_variable_sub_family/errors/all.json +++ b/tests/results/test/24_0family_hidden_condition_variable_sub_family/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"family\" (possibly hidden family) because has property \"hidden\"" + "cannot access to optiondescription \"family\" (possibly hidden family) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_variable_multi3/errors/all.json b/tests/results/test/40_0leadership_leader_follower/errors/all.json similarity index 100% rename from tests/results/test/04_5disabled_calculation_variable_multi3/errors/all.json rename to tests/results/test/40_0leadership_leader_follower/errors/all.json diff --git a/tests/results/test/04_5disabled_calculation_variable_multi3/errors/mandatories.json b/tests/results/test/40_0leadership_leader_follower/errors/mandatories.json similarity index 100% rename from tests/results/test/04_5disabled_calculation_variable_multi3/errors/mandatories.json rename to tests/results/test/40_0leadership_leader_follower/errors/mandatories.json diff --git a/tests/results/test/40_0leadership_leader_follower/file/all.env b/tests/results/test/40_0leadership_leader_follower/file/all.env new file mode 100644 index 0000000..23c1376 --- /dev/null +++ b/tests/results/test/40_0leadership_leader_follower/file/all.env @@ -0,0 +1,2 @@ +ROUGAIL_LEADERSHIP.LEADER="string1,string2,string3" +ROUGAIL_LEADERSHIP.FOLLOWER="string1,string2,string3" diff --git a/tests/results/test/40_0leadership_leader_follower/file/all_exclude.env b/tests/results/test/40_0leadership_leader_follower/file/all_exclude.env new file mode 100644 index 0000000..23c1376 --- /dev/null +++ b/tests/results/test/40_0leadership_leader_follower/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL_LEADERSHIP.LEADER="string1,string2,string3" +ROUGAIL_LEADERSHIP.FOLLOWER="string1,string2,string3" diff --git a/tests/results/test/40_0leadership_leader_follower/file/mandatories.env b/tests/results/test/40_0leadership_leader_follower/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test/40_0leadership_leader_follower/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test/40_0leadership_leader_follower/makedict/all.json b/tests/results/test/40_0leadership_leader_follower/makedict/all.json new file mode 100644 index 0000000..d981b8b --- /dev/null +++ b/tests/results/test/40_0leadership_leader_follower/makedict/all.json @@ -0,0 +1,16 @@ +{ + "leadership.leader": [ + { + "leadership.leader": "string1", + "leadership.follower": "string1" + }, + { + "leadership.leader": "string2", + "leadership.follower": "string2" + }, + { + "leadership.leader": "string3", + "leadership.follower": "string3" + } + ] +} diff --git a/tests/results/test/40_0leadership_leader_follower/makedict/mandatories.json b/tests/results/test/40_0leadership_leader_follower/makedict/mandatories.json new file mode 100644 index 0000000..5d42154 --- /dev/null +++ b/tests/results/test/40_0leadership_leader_follower/makedict/mandatories.json @@ -0,0 +1,12 @@ +{ + "leadership.leader": [ + { + "leadership.leader": "value1", + "leadership.follower": "value1" + }, + { + "leadership.leader": "value2", + "leadership.follower": "value2" + } + ] +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/errors/mandatories.json b/tests/results/test/40_9calculation_variable_leader_follower_multi_inside/errors/mandatories.json similarity index 100% rename from tests/results/test_namespace/04_5disabled_calculation_variable_multi2/errors/mandatories.json rename to tests/results/test/40_9calculation_variable_leader_follower_multi_inside/errors/mandatories.json diff --git a/tests/results/test/40_9calculation_variable_leader_follower_multi_inside/file/mandatories.env b/tests/results/test/40_9calculation_variable_leader_follower_multi_inside/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test/40_9calculation_variable_leader_follower_multi_inside/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test/40_9calculation_variable_leader_follower_multi_inside/makedict/mandatories.json b/tests/results/test/40_9calculation_variable_leader_follower_multi_inside/makedict/mandatories.json new file mode 100644 index 0000000..fa664c7 --- /dev/null +++ b/tests/results/test/40_9calculation_variable_leader_follower_multi_inside/makedict/mandatories.json @@ -0,0 +1,16 @@ +{ + "leadership.leader": [ + { + "leadership.leader": "value1", + "leadership.follower": [ + "value1" + ] + }, + { + "leadership.leader": "value2", + "leadership.follower": [ + "value2" + ] + } + ] +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/errors/all.json b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/errors/all.json similarity index 100% rename from tests/results/test_namespace/04_5disabled_calculation_variable_multi2/errors/all.json rename to tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/errors/all.json diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/errors/mandatories.json b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/errors/mandatories.json similarity index 100% rename from tests/results/test_namespace/04_5disabled_calculation_variable_multi3/errors/mandatories.json rename to tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/errors/mandatories.json diff --git a/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/all.env b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/all.env new file mode 100644 index 0000000..766fe08 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL_LEADER.LEADER="string1,string2,string3" +ROUGAIL_LEADER.FOLLOWER="string1,string2,string3" +ROUGAIL_VARIABLE="string1,string2,string3" diff --git a/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/all_exclude.env b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/all_exclude.env new file mode 100644 index 0000000..766fe08 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL_LEADER.LEADER="string1,string2,string3" +ROUGAIL_LEADER.FOLLOWER="string1,string2,string3" +ROUGAIL_VARIABLE="string1,string2,string3" diff --git a/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/mandatories.env b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/makedict/all.json b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/makedict/all.json new file mode 100644 index 0000000..c3a5449 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/makedict/all.json @@ -0,0 +1,21 @@ +{ + "leader.leader": [ + { + "leader.leader": "string1", + "leader.follower": "string1" + }, + { + "leader.leader": "string2", + "leader.follower": "string2" + }, + { + "leader.leader": "string3", + "leader.follower": "string3" + } + ], + "variable": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/makedict/mandatories.json b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/makedict/mandatories.json new file mode 100644 index 0000000..d908b66 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-outside-follower-no-mandatory/makedict/mandatories.json @@ -0,0 +1,16 @@ +{ + "leader.leader": [ + { + "leader.leader": "a", + "leader.follower": null + }, + { + "leader.leader": "b", + "leader.follower": null + } + ], + "variable": [ + null, + null + ] +} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/errors/all.json b/tests/results/test/40_9leadership-calculation-variable/errors/all.json similarity index 100% rename from tests/results/test_namespace/04_5disabled_calculation_variable_multi3/errors/all.json rename to tests/results/test/40_9leadership-calculation-variable/errors/all.json diff --git a/tests/results/test/40_9leadership-calculation-variable/errors/mandatories.json b/tests/results/test/40_9leadership-calculation-variable/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/40_9leadership-calculation-variable/file/all.env b/tests/results/test/40_9leadership-calculation-variable/file/all.env new file mode 100644 index 0000000..d95283c --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable/file/all.env @@ -0,0 +1,4 @@ +ROUGAIL_CALCULATE="string1,string2,string3" +ROUGAIL_LEADER.LEADER="string1,string2,string3" +ROUGAIL_LEADER.FOLLOWER1="string1,string2,string3" +ROUGAIL_LEADER.FOLLOWER2="string1,string2,string3" diff --git a/tests/results/test/40_9leadership-calculation-variable/file/all_exclude.env b/tests/results/test/40_9leadership-calculation-variable/file/all_exclude.env new file mode 100644 index 0000000..d95283c --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable/file/all_exclude.env @@ -0,0 +1,4 @@ +ROUGAIL_CALCULATE="string1,string2,string3" +ROUGAIL_LEADER.LEADER="string1,string2,string3" +ROUGAIL_LEADER.FOLLOWER1="string1,string2,string3" +ROUGAIL_LEADER.FOLLOWER2="string1,string2,string3" diff --git a/tests/results/test/40_9leadership-calculation-variable/file/mandatories.env b/tests/results/test/40_9leadership-calculation-variable/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test/40_9leadership-calculation-variable/makedict/all.json b/tests/results/test/40_9leadership-calculation-variable/makedict/all.json new file mode 100644 index 0000000..11b8ff8 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable/makedict/all.json @@ -0,0 +1,24 @@ +{ + "calculate": [ + "string1", + "string2", + "string3" + ], + "leader.leader": [ + { + "leader.leader": "string1", + "leader.follower1": "string1", + "leader.follower2": "string1" + }, + { + "leader.leader": "string2", + "leader.follower1": "string2", + "leader.follower2": "string2" + }, + { + "leader.leader": "string3", + "leader.follower1": "string3", + "leader.follower2": "string3" + } + ] +} diff --git a/tests/results/test/40_9leadership-calculation-variable/makedict/mandatories.json b/tests/results/test/40_9leadership-calculation-variable/makedict/mandatories.json new file mode 100644 index 0000000..970e26e --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable/makedict/mandatories.json @@ -0,0 +1,18 @@ +{ + "calculate": [ + "value1", + "value2" + ], + "leader.leader": [ + { + "leader.leader": "value1", + "leader.follower1": "val11", + "leader.follower2": "val21" + }, + { + "leader.leader": "value2", + "leader.follower1": "val11", + "leader.follower2": "val21" + } + ] +} diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower/errors/all.json b/tests/results/test/40_9leadership-calculation-variable_leader_follower/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower/errors/mandatories.json b/tests/results/test/40_9leadership-calculation-variable_leader_follower/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/all.env b/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/all.env new file mode 100644 index 0000000..0741fac --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/all.env @@ -0,0 +1,4 @@ +ROUGAIL_LEADERSHIP_1.LEADER="string1,string2,string3" +ROUGAIL_LEADERSHIP_1.FOLLOWER="string1,string2,string3" +ROUGAIL_LEADERSHIP_2.LEADER="string1,string2,string3" +ROUGAIL_LEADERSHIP_2.FOLLOWER="string1,string2,string3" diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/all_exclude.env b/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/all_exclude.env new file mode 100644 index 0000000..0741fac --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/all_exclude.env @@ -0,0 +1,4 @@ +ROUGAIL_LEADERSHIP_1.LEADER="string1,string2,string3" +ROUGAIL_LEADERSHIP_1.FOLLOWER="string1,string2,string3" +ROUGAIL_LEADERSHIP_2.LEADER="string1,string2,string3" +ROUGAIL_LEADERSHIP_2.FOLLOWER="string1,string2,string3" diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/mandatories.env b/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/mandatories.env new file mode 100644 index 0000000..6c91b8c --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL_LEADERSHIP_1.FOLLOWER="string1,string2" diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower/makedict/all.json b/tests/results/test/40_9leadership-calculation-variable_leader_follower/makedict/all.json new file mode 100644 index 0000000..7b84649 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower/makedict/all.json @@ -0,0 +1,30 @@ +{ + "leadership_1.leader": [ + { + "leadership_1.leader": "string1", + "leadership_1.follower": "string1" + }, + { + "leadership_1.leader": "string2", + "leadership_1.follower": "string2" + }, + { + "leadership_1.leader": "string3", + "leadership_1.follower": "string3" + } + ], + "leadership_2.leader": [ + { + "leadership_2.leader": "string1", + "leadership_2.follower": "string1" + }, + { + "leadership_2.leader": "string2", + "leadership_2.follower": "string2" + }, + { + "leadership_2.leader": "string3", + "leadership_2.follower": "string3" + } + ] +} diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower/makedict/mandatories.json b/tests/results/test/40_9leadership-calculation-variable_leader_follower/makedict/mandatories.json new file mode 100644 index 0000000..44067e9 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower/makedict/mandatories.json @@ -0,0 +1,22 @@ +{ + "leadership_1.leader": [ + { + "leadership_1.leader": "value1", + "leadership_1.follower": "string1" + }, + { + "leadership_1.leader": "value2", + "leadership_1.follower": "string2" + } + ], + "leadership_2.leader": [ + { + "leadership_2.leader": "string1", + "leadership_2.follower": "val" + }, + { + "leadership_2.leader": "string2", + "leadership_2.follower": "val" + } + ] +} diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/errors/mandatories.json b/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/file/mandatories.env b/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/file/mandatories.env new file mode 100644 index 0000000..6c91b8c --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL_LEADERSHIP_1.FOLLOWER="string1,string2" diff --git a/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/makedict/mandatories.json b/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/makedict/mandatories.json new file mode 100644 index 0000000..a2f6c69 --- /dev/null +++ b/tests/results/test/40_9leadership-calculation-variable_leader_follower_not_same/makedict/mandatories.json @@ -0,0 +1,28 @@ +{ + "leadership_1.leader": [ + { + "leadership_1.leader": "value1", + "leadership_1.follower": "string1" + }, + { + "leadership_1.leader": "value2", + "leadership_1.follower": "string2" + } + ], + "leadership_2.leader": [ + { + "leadership_2.leader": "value1", + "leadership_2.follower": [ + "value1", + "value2" + ] + }, + { + "leadership_2.leader": "value2", + "leadership_2.follower": [ + "value1", + "value2" + ] + } + ] +} diff --git a/tests/results/test/44_6leadership_follower_disabled_calculation/errors/mandatories.json b/tests/results/test/44_6leadership_follower_disabled_calculation/errors/mandatories.json index 577f651..4bf2819 100644 --- a/tests/results/test/44_6leadership_follower_disabled_calculation/errors/mandatories.json +++ b/tests/results/test/44_6leadership_follower_disabled_calculation/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"leader.follower\" (a follower) because has property \"disabled\" (disabled)" + "cannot access to option \"leader.follower\" (a follower) because has property \"disabled\" (disabled) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/60_0family_dynamic_upper_char/errors/all.json b/tests/results/test/60_0family_dynamic_upper_char/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/60_0family_dynamic_upper_char/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/60_0family_dynamic_upper_char/errors/mandatories.json b/tests/results/test/60_0family_dynamic_upper_char/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/60_0family_dynamic_upper_char/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/60_0family_dynamic_upper_char/file/all.env b/tests/results/test/60_0family_dynamic_upper_char/file/all.env new file mode 100644 index 0000000..16ab810 --- /dev/null +++ b/tests/results/test/60_0family_dynamic_upper_char/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL_VAR="Val1,VAL2" +ROUGAIL_DYNVAL1.VAR="string1" +ROUGAIL_DYNVAL2.VAR="string1" diff --git a/tests/results/test/60_0family_dynamic_upper_char/file/all_exclude.env b/tests/results/test/60_0family_dynamic_upper_char/file/all_exclude.env new file mode 100644 index 0000000..a3e2e9b --- /dev/null +++ b/tests/results/test/60_0family_dynamic_upper_char/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL_DYNVAL1.VAR="string1" +ROUGAIL_DYNVAL2.VAR="string1" diff --git a/tests/results/test/60_0family_dynamic_upper_char/file/mandatories.env b/tests/results/test/60_0family_dynamic_upper_char/file/mandatories.env new file mode 100644 index 0000000..a3e2e9b --- /dev/null +++ b/tests/results/test/60_0family_dynamic_upper_char/file/mandatories.env @@ -0,0 +1,2 @@ +ROUGAIL_DYNVAL1.VAR="string1" +ROUGAIL_DYNVAL2.VAR="string1" diff --git a/tests/results/test/60_0family_dynamic_upper_char/makedict/all.json b/tests/results/test/60_0family_dynamic_upper_char/makedict/all.json new file mode 100644 index 0000000..e35bcd4 --- /dev/null +++ b/tests/results/test/60_0family_dynamic_upper_char/makedict/all.json @@ -0,0 +1,8 @@ +{ + "var": [ + "Val1", + "VAL2" + ], + "dynval1.var": "string1", + "dynval2.var": "string1" +} diff --git a/tests/results/test/60_0family_dynamic_upper_char/makedict/mandatories.json b/tests/results/test/60_0family_dynamic_upper_char/makedict/mandatories.json new file mode 100644 index 0000000..e35bcd4 --- /dev/null +++ b/tests/results/test/60_0family_dynamic_upper_char/makedict/mandatories.json @@ -0,0 +1,8 @@ +{ + "var": [ + "Val1", + "VAL2" + ], + "dynval1.var": "string1", + "dynval2.var": "string1" +} diff --git a/tests/results/test/60_5family_dynamic_hidden_suffix/errors/all.json b/tests/results/test/60_5family_dynamic_hidden_suffix/errors/all.json index c8d206b..d7ca287 100644 --- a/tests/results/test/60_5family_dynamic_hidden_suffix/errors/all.json +++ b/tests/results/test/60_5family_dynamic_hidden_suffix/errors/all.json @@ -1,7 +1,7 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"dynval2\" (a dynamic family) because has property \"hidden\" (disabled)", - "cannot access to optiondescription \"dynval2\" (a dynamic family) because has property \"hidden\" (disabled)" + "cannot access to optiondescription \"dynval2\" (a dynamic family) because has property \"hidden\" (disabled) loaded from environment variable", + "cannot access to optiondescription \"dynval2\" (a dynamic family) because has property \"hidden\" (disabled) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/00_6secret/file/all.env b/tests/results/test_namespace/00_6secret/file/all.env index ed1df00..899ecd3 100644 --- a/tests/results/test_namespace/00_6secret/file/all.env +++ b/tests/results/test_namespace/00_6secret/file/all.env @@ -1,2 +1,2 @@ -ROUGAIL.SECRET1="string1" -ROUGAIL.SECRET2="string1" +ROUGAIL.SECRET1="onE7vaLues_len1" +ROUGAIL.SECRET2="onE7vaLues_len1" diff --git a/tests/results/test_namespace/00_6secret/file/all_exclude.env b/tests/results/test_namespace/00_6secret/file/all_exclude.env index ed1df00..899ecd3 100644 --- a/tests/results/test_namespace/00_6secret/file/all_exclude.env +++ b/tests/results/test_namespace/00_6secret/file/all_exclude.env @@ -1,2 +1,2 @@ -ROUGAIL.SECRET1="string1" -ROUGAIL.SECRET2="string1" +ROUGAIL.SECRET1="onE7vaLues_len1" +ROUGAIL.SECRET2="onE7vaLues_len1" diff --git a/tests/results/test_namespace/00_6secret/file/mandatories.env b/tests/results/test_namespace/00_6secret/file/mandatories.env index faa9762..4a425dd 100644 --- a/tests/results/test_namespace/00_6secret/file/mandatories.env +++ b/tests/results/test_namespace/00_6secret/file/mandatories.env @@ -1 +1 @@ -ROUGAIL.SECRET1="string1" +ROUGAIL.SECRET1="onE7vaLues_len1" diff --git a/tests/results/test_namespace/00_6secret/makedict/all.json b/tests/results/test_namespace/00_6secret/makedict/all.json index 6be28b4..20c73a4 100644 --- a/tests/results/test_namespace/00_6secret/makedict/all.json +++ b/tests/results/test_namespace/00_6secret/makedict/all.json @@ -1,4 +1,4 @@ { - "rougail.secret1": "string1", - "rougail.secret2": "string1" + "rougail.secret1": "onE7vaLues_len1", + "rougail.secret2": "onE7vaLues_len1" } diff --git a/tests/results/test_namespace/00_6secret/makedict/mandatories.json b/tests/results/test_namespace/00_6secret/makedict/mandatories.json index 11e2ede..7cd38e7 100644 --- a/tests/results/test_namespace/00_6secret/makedict/mandatories.json +++ b/tests/results/test_namespace/00_6secret/makedict/mandatories.json @@ -1,4 +1,4 @@ { - "rougail.secret1": "string1", + "rougail.secret1": "onE7vaLues_len1", "rougail.secret2": "value" } diff --git a/tests/results/test_namespace/04_1auto_save_and_hidden/errors/all.json b/tests/results/test_namespace/04_1auto_save_and_hidden/errors/all.json index ac35c06..431379a 100644 --- a/tests/results/test_namespace/04_1auto_save_and_hidden/errors/all.json +++ b/tests/results/test_namespace/04_1auto_save_and_hidden/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.var\" (autosave variable) because has property \"hidden\"" + "cannot access to option \"rougail.var\" (autosave variable) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_1default_calculation_hidden/errors/mandatories.json b/tests/results/test_namespace/04_1default_calculation_hidden/errors/mandatories.json index 18ec1de..9136618 100644 --- a/tests/results/test_namespace/04_1default_calculation_hidden/errors/mandatories.json +++ b/tests/results/test_namespace/04_1default_calculation_hidden/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\"" + "cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_1default_calculation_hidden_2/errors/mandatories.json b/tests/results/test_namespace/04_1default_calculation_hidden_2/errors/mandatories.json index 18ec1de..9136618 100644 --- a/tests/results/test_namespace/04_1default_calculation_hidden_2/errors/mandatories.json +++ b/tests/results/test_namespace/04_1default_calculation_hidden_2/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\"" + "cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_optional/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_optional/errors/all.json index 7d84b6a..60aca69 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_optional/errors/all.json +++ b/tests/results/test_namespace/04_5disabled_calculation_optional/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (unknown is undefined)" + "cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (unknown is undefined) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable/errors/all.json index 2794cdf..cb6f712 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable/errors/all.json +++ b/tests/results/test_namespace/04_5disabled_calculation_variable/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable2/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable2/errors/all.json index 2794cdf..cb6f712 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable2/errors/all.json +++ b/tests/results/test_namespace/04_5disabled_calculation_variable2/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable2/errors/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable2/errors/mandatories.json index 2794cdf..cb6f712 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable2/errors/mandatories.json +++ b/tests/results/test_namespace/04_5disabled_calculation_variable2/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable3/errors/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable3/errors/mandatories.json index 2794cdf..cb6f712 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable3/errors/mandatories.json +++ b/tests/results/test_namespace/04_5disabled_calculation_variable3/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable4/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable4/errors/all.json index 2794cdf..cb6f712 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable4/errors/all.json +++ b/tests/results/test_namespace/04_5disabled_calculation_variable4/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_multi/errors/all.json index 2794cdf..cb6f712 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi/errors/all.json +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_multi/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" + "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/all.env b/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/all.env deleted file mode 100644 index 24708d5..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/all.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL.CONDITION="string1,string2,string3" -ROUGAIL.VARIABLE="string1,string2,string3" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/all_exclude.env b/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/all_exclude.env deleted file mode 100644 index 24708d5..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/all_exclude.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL.CONDITION="string1,string2,string3" -ROUGAIL.VARIABLE="string1,string2,string3" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/mandatories.env b/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/mandatories.env deleted file mode 100644 index 24708d5..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/file/mandatories.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL.CONDITION="string1,string2,string3" -ROUGAIL.VARIABLE="string1,string2,string3" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/makedict/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/makedict/all.json deleted file mode 100644 index ecaeab7..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/makedict/all.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "rougail.condition": [ - "string1", - "string2", - "string3" - ], - "rougail.variable": [ - "string1", - "string2", - "string3" - ] -} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/makedict/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/makedict/mandatories.json deleted file mode 100644 index ecaeab7..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi2/makedict/mandatories.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "rougail.condition": [ - "string1", - "string2", - "string3" - ], - "rougail.variable": [ - "string1", - "string2", - "string3" - ] -} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/all.env b/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/all.env deleted file mode 100644 index 24708d5..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/all.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL.CONDITION="string1,string2,string3" -ROUGAIL.VARIABLE="string1,string2,string3" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/all_exclude.env b/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/all_exclude.env deleted file mode 100644 index 24708d5..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/all_exclude.env +++ /dev/null @@ -1,2 +0,0 @@ -ROUGAIL.CONDITION="string1,string2,string3" -ROUGAIL.VARIABLE="string1,string2,string3" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/mandatories.env b/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/mandatories.env deleted file mode 100644 index aa319c8..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/file/mandatories.env +++ /dev/null @@ -1 +0,0 @@ -ROUGAIL.VARIABLE="string1,string2,string3" diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/makedict/all.json b/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/makedict/all.json deleted file mode 100644 index ecaeab7..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/makedict/all.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "rougail.condition": [ - "string1", - "string2", - "string3" - ], - "rougail.variable": [ - "string1", - "string2", - "string3" - ] -} diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/makedict/mandatories.json b/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/makedict/mandatories.json deleted file mode 100644 index d68ce41..0000000 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi3/makedict/mandatories.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "rougail.condition": [ - "val1", - "val2" - ], - "rougail.variable": [ - "string1", - "string2", - "string3" - ] -} diff --git a/tests/results/test_namespace/04_5hidden_calculation2/errors/all.json b/tests/results/test_namespace/04_5hidden_calculation2/errors/all.json index 60dc26f..4e29363 100644 --- a/tests/results/test_namespace/04_5hidden_calculation2/errors/all.json +++ b/tests/results/test_namespace/04_5hidden_calculation2/errors/all.json @@ -1,7 +1,7 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (condition is yes)", - "cannot access to option \"rougail.var2\" (a second variable) because has property \"hidden\" (condition is yes)" + "cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (condition is yes) loaded from environment variable", + "cannot access to option \"rougail.var2\" (a second variable) because has property \"hidden\" (condition is yes) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/16_2family_redefine_calculation/errors/all.json b/tests/results/test_namespace/16_2family_redefine_calculation/errors/all.json index 8e0bee7..5d55279 100644 --- a/tests/results/test_namespace/16_2family_redefine_calculation/errors/all.json +++ b/tests/results/test_namespace/16_2family_redefine_calculation/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true)" + "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/16_2family_redefine_calculation/errors/mandatories.json b/tests/results/test_namespace/16_2family_redefine_calculation/errors/mandatories.json index 8e0bee7..5d55279 100644 --- a/tests/results/test_namespace/16_2family_redefine_calculation/errors/mandatories.json +++ b/tests/results/test_namespace/16_2family_redefine_calculation/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true)" + "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/16_2family_redefine_disabled/errors/all.json b/tests/results/test_namespace/16_2family_redefine_disabled/errors/all.json index 81c952d..17a5f17 100644 --- a/tests/results/test_namespace/16_2family_redefine_disabled/errors/all.json +++ b/tests/results/test_namespace/16_2family_redefine_disabled/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"" + "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/16_2family_redefine_disabled/errors/mandatories.json b/tests/results/test_namespace/16_2family_redefine_disabled/errors/mandatories.json index 81c952d..17a5f17 100644 --- a/tests/results/test_namespace/16_2family_redefine_disabled/errors/mandatories.json +++ b/tests/results/test_namespace/16_2family_redefine_disabled/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"" + "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/16_3family_empty_at_ends/errors/all.json b/tests/results/test_namespace/16_3family_empty_at_ends/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/16_3family_empty_at_ends/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/16_3family_empty_at_ends/errors/mandatories.json b/tests/results/test_namespace/16_3family_empty_at_ends/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/16_3family_empty_at_ends/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/16_3family_empty_at_ends/file/all.env b/tests/results/test_namespace/16_3family_empty_at_ends/file/all.env new file mode 100644 index 0000000..537f0b5 --- /dev/null +++ b/tests/results/test_namespace/16_3family_empty_at_ends/file/all.env @@ -0,0 +1 @@ +ROUGAIL.FAMILY.VAR1="string1" diff --git a/tests/results/test_namespace/16_3family_empty_at_ends/file/all_exclude.env b/tests/results/test_namespace/16_3family_empty_at_ends/file/all_exclude.env new file mode 100644 index 0000000..537f0b5 --- /dev/null +++ b/tests/results/test_namespace/16_3family_empty_at_ends/file/all_exclude.env @@ -0,0 +1 @@ +ROUGAIL.FAMILY.VAR1="string1" diff --git a/tests/results/test_namespace/16_3family_empty_at_ends/file/mandatories.env b/tests/results/test_namespace/16_3family_empty_at_ends/file/mandatories.env new file mode 100644 index 0000000..537f0b5 --- /dev/null +++ b/tests/results/test_namespace/16_3family_empty_at_ends/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.FAMILY.VAR1="string1" diff --git a/tests/results/test_namespace/16_3family_empty_at_ends/makedict/all.json b/tests/results/test_namespace/16_3family_empty_at_ends/makedict/all.json new file mode 100644 index 0000000..1c10f83 --- /dev/null +++ b/tests/results/test_namespace/16_3family_empty_at_ends/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.family.var1": "string1" +} diff --git a/tests/results/test_namespace/16_3family_empty_at_ends/makedict/mandatories.json b/tests/results/test_namespace/16_3family_empty_at_ends/makedict/mandatories.json new file mode 100644 index 0000000..1c10f83 --- /dev/null +++ b/tests/results/test_namespace/16_3family_empty_at_ends/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.family.var1": "string1" +} diff --git a/tests/results/test_namespace/16_5exists_redefine/errors/all.json b/tests/results/test_namespace/16_5exists_redefine/errors/all.json index 29ad9cb..6f541b9 100644 --- a/tests/results/test_namespace/16_5exists_redefine/errors/all.json +++ b/tests/results/test_namespace/16_5exists_redefine/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\"" + "cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/16_5redefine_hidden/errors/all.json b/tests/results/test_namespace/16_5redefine_hidden/errors/all.json index c6e4368..f0d8b25 100644 --- a/tests/results/test_namespace/16_5redefine_hidden/errors/all.json +++ b/tests/results/test_namespace/16_5redefine_hidden/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.variable\" (a variable) because has property \"hidden\"" + "cannot access to option \"rougail.variable\" (a variable) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/17_5redefine_leadership/errors/all.json b/tests/results/test_namespace/17_5redefine_leadership/errors/all.json index 5bcc277..9a96c4a 100644 --- a/tests/results/test_namespace/17_5redefine_leadership/errors/all.json +++ b/tests/results/test_namespace/17_5redefine_leadership/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\"" + "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/20_0family_underscore/errors/all.json b/tests/results/test_namespace/20_0family_underscore/errors/all.json index 647a966..1a9e967 100644 --- a/tests/results/test_namespace/20_0family_underscore/errors/all.json +++ b/tests/results/test_namespace/20_0family_underscore/errors/all.json @@ -1,11 +1,11 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"", - "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"", - "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"", - "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"", - "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"", - "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"" + "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from environment variable", + "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from environment variable", + "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from environment variable", + "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from environment variable", + "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from environment variable", + "cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/24_0family_hidden_condition_variable_sub_family/errors/all.json b/tests/results/test_namespace/24_0family_hidden_condition_variable_sub_family/errors/all.json index 8256a24..ba339fd 100644 --- a/tests/results/test_namespace/24_0family_hidden_condition_variable_sub_family/errors/all.json +++ b/tests/results/test_namespace/24_0family_hidden_condition_variable_sub_family/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.family\" (possibly hidden family) because has property \"hidden\"" + "cannot access to optiondescription \"rougail.family\" (possibly hidden family) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/24_0family_hidden_condition_with_variable/errors/all.json b/tests/results/test_namespace/24_0family_hidden_condition_with_variable/errors/all.json index fb3b8fb..ca80d7e 100644 --- a/tests/results/test_namespace/24_0family_hidden_condition_with_variable/errors/all.json +++ b/tests/results/test_namespace/24_0family_hidden_condition_with_variable/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.family.variable\" (a variable) because has property \"hidden\" (condition2 is true)" + "cannot access to option \"rougail.family.variable\" (a variable) because has property \"hidden\" (condition2 is true) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/24_family_disabled_var_hidden/errors/all.json b/tests/results/test_namespace/24_family_disabled_var_hidden/errors/all.json index ab6030d..e790308 100644 --- a/tests/results/test_namespace/24_family_disabled_var_hidden/errors/all.json +++ b/tests/results/test_namespace/24_family_disabled_var_hidden/errors/all.json @@ -1,7 +1,7 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"", - "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"" + "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from environment variable", + "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/24_family_disabled_var_hidden/errors/mandatories.json b/tests/results/test_namespace/24_family_disabled_var_hidden/errors/mandatories.json index 81c952d..17a5f17 100644 --- a/tests/results/test_namespace/24_family_disabled_var_hidden/errors/mandatories.json +++ b/tests/results/test_namespace/24_family_disabled_var_hidden/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"" + "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/40_0leadership_follower_default_submulti/errors/mandatories.json b/tests/results/test_namespace/40_0leadership_follower_default_submulti/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_follower_default_submulti/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_0leadership_follower_default_submulti/file/mandatories.env b/tests/results/test_namespace/40_0leadership_follower_default_submulti/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_follower_default_submulti/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/40_0leadership_follower_default_submulti/makedict/mandatories.json b/tests/results/test_namespace/40_0leadership_follower_default_submulti/makedict/mandatories.json new file mode 100644 index 0000000..1b63ab1 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_follower_default_submulti/makedict/mandatories.json @@ -0,0 +1,14 @@ +{ + "rougail.leader.leader": [ + { + "rougail.leader.leader": "leader", + "rougail.leader.follower1": [ + "value" + ], + "rougail.leader.follower2": [ + "value1", + "value2" + ] + } + ] +} diff --git a/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/errors/mandatories.json b/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/file/mandatories.env b/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/makedict/mandatories.json b/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/makedict/mandatories.json new file mode 100644 index 0000000..c6ed0b4 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_follower_default_submulti_calculation/makedict/mandatories.json @@ -0,0 +1,13 @@ +{ + "rougail.leader.leader": [ + { + "rougail.leader.leader": "leader", + "rougail.leader.follower1": [ + "value" + ], + "rougail.leader.follower2": [ + "value" + ] + } + ] +} diff --git a/tests/results/test_namespace/40_0leadership_leader_follower/errors/all.json b/tests/results/test_namespace/40_0leadership_leader_follower/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_leader_follower/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_0leadership_leader_follower/errors/mandatories.json b/tests/results/test_namespace/40_0leadership_leader_follower/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_leader_follower/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_0leadership_leader_follower/file/all.env b/tests/results/test_namespace/40_0leadership_leader_follower/file/all.env new file mode 100644 index 0000000..7a4f851 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_leader_follower/file/all.env @@ -0,0 +1,2 @@ +ROUGAIL.LEADERSHIP.LEADER="string1,string2,string3" +ROUGAIL.LEADERSHIP.FOLLOWER="string1,string2,string3" diff --git a/tests/results/test_namespace/40_0leadership_leader_follower/file/all_exclude.env b/tests/results/test_namespace/40_0leadership_leader_follower/file/all_exclude.env new file mode 100644 index 0000000..7a4f851 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_leader_follower/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL.LEADERSHIP.LEADER="string1,string2,string3" +ROUGAIL.LEADERSHIP.FOLLOWER="string1,string2,string3" diff --git a/tests/results/test_namespace/40_0leadership_leader_follower/file/mandatories.env b/tests/results/test_namespace/40_0leadership_leader_follower/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_leader_follower/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/40_0leadership_leader_follower/makedict/all.json b/tests/results/test_namespace/40_0leadership_leader_follower/makedict/all.json new file mode 100644 index 0000000..117f429 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_leader_follower/makedict/all.json @@ -0,0 +1,16 @@ +{ + "rougail.leadership.leader": [ + { + "rougail.leadership.leader": "string1", + "rougail.leadership.follower": "string1" + }, + { + "rougail.leadership.leader": "string2", + "rougail.leadership.follower": "string2" + }, + { + "rougail.leadership.leader": "string3", + "rougail.leadership.follower": "string3" + } + ] +} diff --git a/tests/results/test_namespace/40_0leadership_leader_follower/makedict/mandatories.json b/tests/results/test_namespace/40_0leadership_leader_follower/makedict/mandatories.json new file mode 100644 index 0000000..c077479 --- /dev/null +++ b/tests/results/test_namespace/40_0leadership_leader_follower/makedict/mandatories.json @@ -0,0 +1,12 @@ +{ + "rougail.leadership.leader": [ + { + "rougail.leadership.leader": "value1", + "rougail.leadership.follower": "value1" + }, + { + "rougail.leadership.leader": "value2", + "rougail.leadership.follower": "value2" + } + ] +} diff --git a/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/errors/mandatories.json b/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/file/mandatories.env b/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/makedict/mandatories.json b/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/makedict/mandatories.json new file mode 100644 index 0000000..e3cd4f3 --- /dev/null +++ b/tests/results/test_namespace/40_9calculation_variable_leader_follower_multi_inside/makedict/mandatories.json @@ -0,0 +1,16 @@ +{ + "rougail.leadership.leader": [ + { + "rougail.leadership.leader": "value1", + "rougail.leadership.follower": [ + "value1" + ] + }, + { + "rougail.leadership.leader": "value2", + "rougail.leadership.follower": [ + "value2" + ] + } + ] +} diff --git a/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/errors/all.json b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/errors/mandatories.json b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/all.env b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/all.env new file mode 100644 index 0000000..7a0a9a5 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL.LEADER.LEADER="string1,string2,string3" +ROUGAIL.LEADER.FOLLOWER="string1,string2,string3" +ROUGAIL.VARIABLE="string1,string2,string3" diff --git a/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/all_exclude.env b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/all_exclude.env new file mode 100644 index 0000000..7a0a9a5 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL.LEADER.LEADER="string1,string2,string3" +ROUGAIL.LEADER.FOLLOWER="string1,string2,string3" +ROUGAIL.VARIABLE="string1,string2,string3" diff --git a/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/mandatories.env b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/makedict/all.json b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/makedict/all.json new file mode 100644 index 0000000..806ddce --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/makedict/all.json @@ -0,0 +1,21 @@ +{ + "rougail.leader.leader": [ + { + "rougail.leader.leader": "string1", + "rougail.leader.follower": "string1" + }, + { + "rougail.leader.leader": "string2", + "rougail.leader.follower": "string2" + }, + { + "rougail.leader.leader": "string3", + "rougail.leader.follower": "string3" + } + ], + "rougail.variable": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/makedict/mandatories.json b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/makedict/mandatories.json new file mode 100644 index 0000000..07135b4 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-outside-follower-no-mandatory/makedict/mandatories.json @@ -0,0 +1,16 @@ +{ + "rougail.leader.leader": [ + { + "rougail.leader.leader": "a", + "rougail.leader.follower": null + }, + { + "rougail.leader.leader": "b", + "rougail.leader.follower": null + } + ], + "rougail.variable": [ + null, + null + ] +} diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable/errors/all.json b/tests/results/test_namespace/40_9leadership-calculation-variable/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable/errors/mandatories.json b/tests/results/test_namespace/40_9leadership-calculation-variable/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable/file/all.env b/tests/results/test_namespace/40_9leadership-calculation-variable/file/all.env new file mode 100644 index 0000000..1548232 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable/file/all.env @@ -0,0 +1,4 @@ +ROUGAIL.CALCULATE="string1,string2,string3" +ROUGAIL.LEADER.LEADER="string1,string2,string3" +ROUGAIL.LEADER.FOLLOWER1="string1,string2,string3" +ROUGAIL.LEADER.FOLLOWER2="string1,string2,string3" diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable/file/all_exclude.env b/tests/results/test_namespace/40_9leadership-calculation-variable/file/all_exclude.env new file mode 100644 index 0000000..1548232 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable/file/all_exclude.env @@ -0,0 +1,4 @@ +ROUGAIL.CALCULATE="string1,string2,string3" +ROUGAIL.LEADER.LEADER="string1,string2,string3" +ROUGAIL.LEADER.FOLLOWER1="string1,string2,string3" +ROUGAIL.LEADER.FOLLOWER2="string1,string2,string3" diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable/file/mandatories.env b/tests/results/test_namespace/40_9leadership-calculation-variable/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable/makedict/all.json b/tests/results/test_namespace/40_9leadership-calculation-variable/makedict/all.json new file mode 100644 index 0000000..9b9b89a --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable/makedict/all.json @@ -0,0 +1,24 @@ +{ + "rougail.calculate": [ + "string1", + "string2", + "string3" + ], + "rougail.leader.leader": [ + { + "rougail.leader.leader": "string1", + "rougail.leader.follower1": "string1", + "rougail.leader.follower2": "string1" + }, + { + "rougail.leader.leader": "string2", + "rougail.leader.follower1": "string2", + "rougail.leader.follower2": "string2" + }, + { + "rougail.leader.leader": "string3", + "rougail.leader.follower1": "string3", + "rougail.leader.follower2": "string3" + } + ] +} diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable/makedict/mandatories.json b/tests/results/test_namespace/40_9leadership-calculation-variable/makedict/mandatories.json new file mode 100644 index 0000000..f57f0ac --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable/makedict/mandatories.json @@ -0,0 +1,18 @@ +{ + "rougail.calculate": [ + "value1", + "value2" + ], + "rougail.leader.leader": [ + { + "rougail.leader.leader": "value1", + "rougail.leader.follower1": "val11", + "rougail.leader.follower2": "val21" + }, + { + "rougail.leader.leader": "value2", + "rougail.leader.follower1": "val11", + "rougail.leader.follower2": "val21" + } + ] +} diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/errors/all.json b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/errors/mandatories.json b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/all.env b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/all.env new file mode 100644 index 0000000..c24c16c --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/all.env @@ -0,0 +1,4 @@ +ROUGAIL.LEADERSHIP_1.LEADER="string1,string2,string3" +ROUGAIL.LEADERSHIP_1.FOLLOWER="string1,string2,string3" +ROUGAIL.LEADERSHIP_2.LEADER="string1,string2,string3" +ROUGAIL.LEADERSHIP_2.FOLLOWER="string1,string2,string3" diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/all_exclude.env b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/all_exclude.env new file mode 100644 index 0000000..c24c16c --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/all_exclude.env @@ -0,0 +1,4 @@ +ROUGAIL.LEADERSHIP_1.LEADER="string1,string2,string3" +ROUGAIL.LEADERSHIP_1.FOLLOWER="string1,string2,string3" +ROUGAIL.LEADERSHIP_2.LEADER="string1,string2,string3" +ROUGAIL.LEADERSHIP_2.FOLLOWER="string1,string2,string3" diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/mandatories.env b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/mandatories.env new file mode 100644 index 0000000..39a5c1e --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.LEADERSHIP_1.FOLLOWER="string1,string2" diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/makedict/all.json b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/makedict/all.json new file mode 100644 index 0000000..cb547b5 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/makedict/all.json @@ -0,0 +1,30 @@ +{ + "rougail.leadership_1.leader": [ + { + "rougail.leadership_1.leader": "string1", + "rougail.leadership_1.follower": "string1" + }, + { + "rougail.leadership_1.leader": "string2", + "rougail.leadership_1.follower": "string2" + }, + { + "rougail.leadership_1.leader": "string3", + "rougail.leadership_1.follower": "string3" + } + ], + "rougail.leadership_2.leader": [ + { + "rougail.leadership_2.leader": "string1", + "rougail.leadership_2.follower": "string1" + }, + { + "rougail.leadership_2.leader": "string2", + "rougail.leadership_2.follower": "string2" + }, + { + "rougail.leadership_2.leader": "string3", + "rougail.leadership_2.follower": "string3" + } + ] +} diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/makedict/mandatories.json b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/makedict/mandatories.json new file mode 100644 index 0000000..c97d2b1 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower/makedict/mandatories.json @@ -0,0 +1,22 @@ +{ + "rougail.leadership_1.leader": [ + { + "rougail.leadership_1.leader": "value1", + "rougail.leadership_1.follower": "string1" + }, + { + "rougail.leadership_1.leader": "value2", + "rougail.leadership_1.follower": "string2" + } + ], + "rougail.leadership_2.leader": [ + { + "rougail.leadership_2.leader": "string1", + "rougail.leadership_2.follower": "val" + }, + { + "rougail.leadership_2.leader": "string2", + "rougail.leadership_2.follower": "val" + } + ] +} diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/errors/mandatories.json b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/file/mandatories.env b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/file/mandatories.env new file mode 100644 index 0000000..39a5c1e --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.LEADERSHIP_1.FOLLOWER="string1,string2" diff --git a/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/makedict/mandatories.json b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/makedict/mandatories.json new file mode 100644 index 0000000..8bac382 --- /dev/null +++ b/tests/results/test_namespace/40_9leadership-calculation-variable_leader_follower_not_same/makedict/mandatories.json @@ -0,0 +1,28 @@ +{ + "rougail.leadership_1.leader": [ + { + "rougail.leadership_1.leader": "value1", + "rougail.leadership_1.follower": "string1" + }, + { + "rougail.leadership_1.leader": "value2", + "rougail.leadership_1.follower": "string2" + } + ], + "rougail.leadership_2.leader": [ + { + "rougail.leadership_2.leader": "value1", + "rougail.leadership_2.follower": [ + "value1", + "value2" + ] + }, + { + "rougail.leadership_2.leader": "value2", + "rougail.leadership_2.follower": [ + "value1", + "value2" + ] + } + ] +} diff --git a/tests/results/test_namespace/44_0leadership_hidden/errors/all.json b/tests/results/test_namespace/44_0leadership_hidden/errors/all.json index 5bcc277..9a96c4a 100644 --- a/tests/results/test_namespace/44_0leadership_hidden/errors/all.json +++ b/tests/results/test_namespace/44_0leadership_hidden/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\"" + "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/44_0leadership_leader_hidden/errors/all.json b/tests/results/test_namespace/44_0leadership_leader_hidden/errors/all.json index 5bcc277..9a96c4a 100644 --- a/tests/results/test_namespace/44_0leadership_leader_hidden/errors/all.json +++ b/tests/results/test_namespace/44_0leadership_leader_hidden/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\"" + "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/44_1leadership_append_hidden_follower/errors/all.json b/tests/results/test_namespace/44_1leadership_append_hidden_follower/errors/all.json index 5bcc277..9a96c4a 100644 --- a/tests/results/test_namespace/44_1leadership_append_hidden_follower/errors/all.json +++ b/tests/results/test_namespace/44_1leadership_append_hidden_follower/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\"" + "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/44_6leadership_follower_disabled_calculation/errors/mandatories.json b/tests/results/test_namespace/44_6leadership_follower_disabled_calculation/errors/mandatories.json index 9274a54..28ad9f1 100644 --- a/tests/results/test_namespace/44_6leadership_follower_disabled_calculation/errors/mandatories.json +++ b/tests/results/test_namespace/44_6leadership_follower_disabled_calculation/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.leader.follower\" (a follower) because has property \"disabled\" (disabled)" + "cannot access to option \"rougail.leader.follower\" (a follower) because has property \"disabled\" (disabled) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/60_0family_dynamic_upper_char/errors/all.json b/tests/results/test_namespace/60_0family_dynamic_upper_char/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_upper_char/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_upper_char/errors/mandatories.json b/tests/results/test_namespace/60_0family_dynamic_upper_char/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_upper_char/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_upper_char/file/all.env b/tests/results/test_namespace/60_0family_dynamic_upper_char/file/all.env new file mode 100644 index 0000000..eebd4fc --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_upper_char/file/all.env @@ -0,0 +1,3 @@ +ROUGAIL.VAR="Val1,VAL2" +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.VAR="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_upper_char/file/all_exclude.env b/tests/results/test_namespace/60_0family_dynamic_upper_char/file/all_exclude.env new file mode 100644 index 0000000..cf6d584 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_upper_char/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.VAR="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_upper_char/file/mandatories.env b/tests/results/test_namespace/60_0family_dynamic_upper_char/file/mandatories.env new file mode 100644 index 0000000..cf6d584 --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_upper_char/file/mandatories.env @@ -0,0 +1,2 @@ +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.VAR="string1" diff --git a/tests/results/test_namespace/60_0family_dynamic_upper_char/makedict/all.json b/tests/results/test_namespace/60_0family_dynamic_upper_char/makedict/all.json new file mode 100644 index 0000000..a90831a --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_upper_char/makedict/all.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_0family_dynamic_upper_char/makedict/mandatories.json b/tests/results/test_namespace/60_0family_dynamic_upper_char/makedict/mandatories.json new file mode 100644 index 0000000..a90831a --- /dev/null +++ b/tests/results/test_namespace/60_0family_dynamic_upper_char/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_0family_hidden/errors/all.json b/tests/results/test_namespace/60_0family_hidden/errors/all.json index 8c7886d..a0a655d 100644 --- a/tests/results/test_namespace/60_0family_hidden/errors/all.json +++ b/tests/results/test_namespace/60_0family_hidden/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.family\" (a family) because has property \"hidden\"" + "cannot access to optiondescription \"rougail.family\" (a family) because has property \"hidden\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled/errors/all.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled/errors/all.json index ed5d5aa..fd52f8a 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled/errors/all.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled/errors/all.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\"" + "cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled/errors/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled/errors/mandatories.json index ed5d5aa..fd52f8a 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled/errors/mandatories.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled/errors/mandatories.json @@ -1,6 +1,6 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\"" + "cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\" loaded from environment variable" ] } \ No newline at end of file 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 new file mode 100644 index 0000000..25d0eb0 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/errors/all.json @@ -0,0 +1,7 @@ +{ + "errors": [], + "warnings": [ + "cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\" loaded from environment variable", + "cannot access to option \"rougail.dynval2.var\" (A dynamic variable) because has property \"disabled\" loaded from environment variable" + ] +} \ 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 new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/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_disabled2/file/all.env b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all.env new file mode 100644 index 0000000..eecf873 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all.env @@ -0,0 +1,4 @@ +ROUGAIL.VAR1="val1,val2" +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.VAR="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 new file mode 100644 index 0000000..17958a1 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.env @@ -0,0 +1,3 @@ +ROUGAIL.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.VAR="string1" +ROUGAIL.VAR2="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 new file mode 100644 index 0000000..5640f89 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.env @@ -0,0 +1 @@ +ROUGAIL.VAR2="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 new file mode 100644 index 0000000..32ce3c8 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/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_disabled2/makedict/mandatories.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json new file mode 100644 index 0000000..9cc7b99 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": [], + "rougail.var2": "string1" +} diff --git a/tests/results/test_namespace/60_5family_dynamic_hidden_suffix/errors/all.json b/tests/results/test_namespace/60_5family_dynamic_hidden_suffix/errors/all.json index bedd985..68dba5c 100644 --- a/tests/results/test_namespace/60_5family_dynamic_hidden_suffix/errors/all.json +++ b/tests/results/test_namespace/60_5family_dynamic_hidden_suffix/errors/all.json @@ -1,7 +1,7 @@ { "errors": [], "warnings": [ - "cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled)", - "cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled)" + "cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled) loaded from environment variable", + "cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix/errors/all.json b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix/errors/all.json index 25a4e68..4c84fd2 100644 --- a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix/errors/all.json +++ b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix/errors/all.json @@ -1,7 +1,7 @@ { "errors": [], "warnings": [ - "cannot access to option \"rougail.val1_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value)", - "cannot access to option \"rougail.val2_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value)" + "cannot access to option \"rougail.val1_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value) loaded from environment variable", + "cannot access to option \"rougail.val2_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value) loaded from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/errors/all.json b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/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_suffix_auto_multi/errors/mandatories.json b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/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_suffix_auto_multi/file/all.env b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/file/all.env new file mode 100644 index 0000000..247dd36 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/file/all.env @@ -0,0 +1,6 @@ +ROUGAIL.VAR1="val1,val2" +ROUGAIL.DYNVAL1.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL1.DYNVAL2.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL2.VAR="string1" +ROUGAIL.VAR2="string1,string2,string3" diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/file/all_exclude.env b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/file/all_exclude.env new file mode 100644 index 0000000..622c9f5 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/file/all_exclude.env @@ -0,0 +1,5 @@ +ROUGAIL.DYNVAL1.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL1.DYNVAL2.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL2.VAR="string1" +ROUGAIL.VAR2="string1,string2,string3" diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/file/mandatories.env b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/file/mandatories.env new file mode 100644 index 0000000..144ba02 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/file/mandatories.env @@ -0,0 +1,4 @@ +ROUGAIL.DYNVAL1.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL1.DYNVAL2.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL2.VAR="string1" diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/makedict/all.json b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/makedict/all.json new file mode 100644 index 0000000..b8d9123 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/makedict/all.json @@ -0,0 +1,15 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.dynval1.dynval1.var": "string1", + "rougail.dynval1.dynval2.var": "string1", + "rougail.dynval2.dynval1.var": "string1", + "rougail.dynval2.dynval2.var": "string1", + "rougail.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/makedict/mandatories.json b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/makedict/mandatories.json new file mode 100644 index 0000000..9943f0b --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi/makedict/mandatories.json @@ -0,0 +1,14 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.dynval1.dynval1.var": "string1", + "rougail.dynval1.dynval2.var": "string1", + "rougail.dynval2.dynval1.var": "string1", + "rougail.dynval2.dynval2.var": "string1", + "rougail.var2": [ + "string1", + "string1" + ] +} diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/errors/all.json b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/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_suffix_auto_multi2/errors/mandatories.json b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/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_suffix_auto_multi2/file/all.env b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/file/all.env new file mode 100644 index 0000000..247dd36 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/file/all.env @@ -0,0 +1,6 @@ +ROUGAIL.VAR1="val1,val2" +ROUGAIL.DYNVAL1.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL1.DYNVAL2.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL2.VAR="string1" +ROUGAIL.VAR2="string1,string2,string3" diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/file/all_exclude.env b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/file/all_exclude.env new file mode 100644 index 0000000..622c9f5 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/file/all_exclude.env @@ -0,0 +1,5 @@ +ROUGAIL.DYNVAL1.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL1.DYNVAL2.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL2.VAR="string1" +ROUGAIL.VAR2="string1,string2,string3" diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/file/mandatories.env b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/file/mandatories.env new file mode 100644 index 0000000..144ba02 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/file/mandatories.env @@ -0,0 +1,4 @@ +ROUGAIL.DYNVAL1.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL1.DYNVAL2.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL1.VAR="string1" +ROUGAIL.DYNVAL2.DYNVAL2.VAR="string1" diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/makedict/all.json b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/makedict/all.json new file mode 100644 index 0000000..b8d9123 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/makedict/all.json @@ -0,0 +1,15 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.dynval1.dynval1.var": "string1", + "rougail.dynval1.dynval2.var": "string1", + "rougail.dynval2.dynval1.var": "string1", + "rougail.dynval2.dynval2.var": "string1", + "rougail.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/makedict/mandatories.json b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/makedict/mandatories.json new file mode 100644 index 0000000..9943f0b --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_suffix_auto_multi2/makedict/mandatories.json @@ -0,0 +1,14 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.dynval1.dynval1.var": "string1", + "rougail.dynval1.dynval2.var": "string1", + "rougail.dynval2.dynval1.var": "string1", + "rougail.dynval2.dynval2.var": "string1", + "rougail.var2": [ + "string1", + "string1" + ] +} diff --git a/tests/test_load.py b/tests/test_load.py index 61e7ee1..954123f 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -19,14 +19,9 @@ save = os.environ.copy() excludes = [] -excludes = [ - '40_0leadership_follower_default_submulti', # submulti is not allowed - '40_0leadership_follower_default_submulti_calculation', # submulti is not allowed - '40_6leadership_follower_multi', # submulti is not allowed - ] test_ok = get_structures_list(excludes) -# test_ok = [Path('../rougail-tests/structures/60_6family_dynamic_sub_dynamic_empty2')] +# test_ok = [Path('../rougail-tests/structures/40_9leadership-calculation-variable_leader_follower_not_same')] def idfn(fixture_value): @@ -60,7 +55,10 @@ def _test_dictionaries(test_dir, namespace, ext, *, level, need_exclude=False): filename = filename / f'{level}_exclude.{EXT}' else: filename = filename / f'{level}.{EXT}' - populate(filename, makedict, rougailconfig, level, need_exclude, namespace) + try: + populate(filename, makedict, rougailconfig, level, need_exclude, namespace) + except SubMulti: + return load_dotenv(str(filename)) ################################## # loads variables in the tiramisu config @@ -99,9 +97,12 @@ def populate(filename, makedict_file, rougailconfig, level, need_exclude, namesp values = get_values_for_config(config, not need_exclude, level) if not filename.is_file(): filename.parent.mkdir(parents=True, exist_ok=True) + ############################################## + v = values_to_env(values, namespace) + ############################################## with filename.open('w') as fh: ############################################## - fh.write('\n'.join(values_to_env(values, namespace)) + '\n') + fh.write('\n'.join(v) + '\n') ############################################## if not makedict_file.is_file(): makedict_file.parent.mkdir(parents=True, exist_ok=True) @@ -112,6 +113,10 @@ def populate(filename, makedict_file, rougailconfig, level, need_exclude, namesp fh.write('\n') +class SubMulti(Exception): + pass + + ############################################## def values_to_env(values, namespace): def parse(root_path, values_, level=-1): @@ -134,7 +139,7 @@ def values_to_env(values, namespace): for val in value: sub_val = val.get(k, "") if isinstance(sub_val, list): - raise Exception("submulti is not allowed for environment user_datas") + raise SubMulti("submulti is not allowed for environment user_datas") ns = (sub_root_path + '.' + k).upper() if not namespace: ns = "ROUGAIL_" + ns