diff --git a/tests/results/test/00_6string/file/all.env b/tests/results/test/00_6string/file/all.env index f3cdd33..d7618af 100644 --- a/tests/results/test/00_6string/file/all.env +++ b/tests/results/test/00_6string/file/all.env @@ -4,3 +4,5 @@ ROUGAIL_VAR3="string1" ROUGAIL_VAR4="string1" ROUGAIL_VAR5="string1" ROUGAIL_VAR6="string1" +ROUGAIL_VAR7="string1" +ROUGAIL_VAR8="string1" diff --git a/tests/results/test/00_6string/file/all_exclude.env b/tests/results/test/00_6string/file/all_exclude.env index f3cdd33..d7618af 100644 --- a/tests/results/test/00_6string/file/all_exclude.env +++ b/tests/results/test/00_6string/file/all_exclude.env @@ -4,3 +4,5 @@ ROUGAIL_VAR3="string1" ROUGAIL_VAR4="string1" ROUGAIL_VAR5="string1" ROUGAIL_VAR6="string1" +ROUGAIL_VAR7="string1" +ROUGAIL_VAR8="string1" diff --git a/tests/results/test/00_6string/makedict/all.json b/tests/results/test/00_6string/makedict/all.json index 4e4a69d..8bb8e49 100644 --- a/tests/results/test/00_6string/makedict/all.json +++ b/tests/results/test/00_6string/makedict/all.json @@ -4,5 +4,7 @@ "var3": "string1", "var4": "string1", "var5": "string1", - "var6": "string1" + "var6": "string1", + "var7": "string1", + "var8": "string1" } diff --git a/tests/results/test/00_6string/makedict/mandatories.json b/tests/results/test/00_6string/makedict/mandatories.json index 5d0de71..bb91abd 100644 --- a/tests/results/test/00_6string/makedict/mandatories.json +++ b/tests/results/test/00_6string/makedict/mandatories.json @@ -4,5 +4,7 @@ "var3": "string1", "var4": "value", "var5": "value", - "var6": "value" + "var6": "value", + "var7": "8080", + "var8": "true" } diff --git a/tests/results/test/04_5disabled_calculation_optional_default/errors/all.json b/tests/results/test/04_5disabled_calculation_optional_default/errors/all.json index 0b6b1fb..7737646 100644 --- a/tests/results/test/04_5disabled_calculation_optional_default/errors/all.json +++ b/tests/results/test/04_5disabled_calculation_optional_default/errors/all.json @@ -1,8 +1,8 @@ { "errors": [], "warnings": [ - "variable \"var1\" (a first variable) is hidden, it will be ignored when loading from environment variable", "variable \"var2\" (a first variable) is hidden, it will be ignored when loading from environment variable", - "variable \"var3\" (a second variable) is hidden, it will be ignored when loading from environment variable" + "variable \"var3\" (a second variable) is hidden, it will be ignored when loading from environment variable", + "variable \"var4\" (a forth variable) is hidden, it will be ignored when loading from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test/04_5disabled_calculation_optional_default/file/all.env b/tests/results/test/04_5disabled_calculation_optional_default/file/all.env index 8bb0ca0..9832a6f 100644 --- a/tests/results/test/04_5disabled_calculation_optional_default/file/all.env +++ b/tests/results/test/04_5disabled_calculation_optional_default/file/all.env @@ -2,3 +2,4 @@ ROUGAIL_CONDITION="True" ROUGAIL_VAR1="string1" ROUGAIL_VAR2="string1" ROUGAIL_VAR3="string1" +ROUGAIL_VAR4="string1" diff --git a/tests/results/test/04_5disabled_calculation_optional_default/file/all_exclude.env b/tests/results/test/04_5disabled_calculation_optional_default/file/all_exclude.env index 8bb0ca0..9832a6f 100644 --- a/tests/results/test/04_5disabled_calculation_optional_default/file/all_exclude.env +++ b/tests/results/test/04_5disabled_calculation_optional_default/file/all_exclude.env @@ -2,3 +2,4 @@ ROUGAIL_CONDITION="True" ROUGAIL_VAR1="string1" ROUGAIL_VAR2="string1" ROUGAIL_VAR3="string1" +ROUGAIL_VAR4="string1" diff --git a/tests/results/test/04_5disabled_calculation_optional_default/makedict/all.json b/tests/results/test/04_5disabled_calculation_optional_default/makedict/all.json index e6a0694..736b2a5 100644 --- a/tests/results/test/04_5disabled_calculation_optional_default/makedict/all.json +++ b/tests/results/test/04_5disabled_calculation_optional_default/makedict/all.json @@ -1,6 +1,6 @@ { "condition": true, - "var1": null, + "var1": "string1", "var2": null, "var3": null, "var4": null diff --git a/tests/results/test/20_2family_looks_like_dynamic/errors/all.json b/tests/results/test/20_2family_looks_like_dynamic/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/20_2family_looks_like_dynamic/errors/mandatories.json b/tests/results/test/20_2family_looks_like_dynamic/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/20_2family_looks_like_dynamic/file/all.env b/tests/results/test/20_2family_looks_like_dynamic/file/all.env new file mode 100644 index 0000000..a5d7754 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic/file/all.env @@ -0,0 +1,2 @@ +ROUGAIL_MY_FAMILY.DYNAMIC="string1,string2,string3" +ROUGAIL_MY_FAMILY.VAR="True" diff --git a/tests/results/test/20_2family_looks_like_dynamic/file/all_exclude.env b/tests/results/test/20_2family_looks_like_dynamic/file/all_exclude.env new file mode 100644 index 0000000..a5d7754 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL_MY_FAMILY.DYNAMIC="string1,string2,string3" +ROUGAIL_MY_FAMILY.VAR="True" diff --git a/tests/results/test/20_2family_looks_like_dynamic/file/mandatories.env b/tests/results/test/20_2family_looks_like_dynamic/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test/20_2family_looks_like_dynamic/makedict/all.json b/tests/results/test/20_2family_looks_like_dynamic/makedict/all.json new file mode 100644 index 0000000..44b959d --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic/makedict/all.json @@ -0,0 +1,8 @@ +{ + "my_family.dynamic": [ + "string1", + "string2", + "string3" + ], + "my_family.var": true +} diff --git a/tests/results/test/20_2family_looks_like_dynamic/makedict/mandatories.json b/tests/results/test/20_2family_looks_like_dynamic/makedict/mandatories.json new file mode 100644 index 0000000..d07f88e --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic/makedict/mandatories.json @@ -0,0 +1,7 @@ +{ + "my_family.dynamic": [ + "val1", + "val2" + ], + "my_family.var": true +} diff --git a/tests/results/test/20_2family_looks_like_variable/errors/all.json b/tests/results/test/20_2family_looks_like_variable/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/20_2family_looks_like_variable/errors/mandatories.json b/tests/results/test/20_2family_looks_like_variable/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test/20_2family_looks_like_variable/file/all.env b/tests/results/test/20_2family_looks_like_variable/file/all.env new file mode 100644 index 0000000..1627d57 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable/file/all.env @@ -0,0 +1 @@ +ROUGAIL_MY_FAMILY.DEFAULT="True" diff --git a/tests/results/test/20_2family_looks_like_variable/file/all_exclude.env b/tests/results/test/20_2family_looks_like_variable/file/all_exclude.env new file mode 100644 index 0000000..1627d57 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable/file/all_exclude.env @@ -0,0 +1 @@ +ROUGAIL_MY_FAMILY.DEFAULT="True" diff --git a/tests/results/test/20_2family_looks_like_variable/file/mandatories.env b/tests/results/test/20_2family_looks_like_variable/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test/20_2family_looks_like_variable/makedict/all.json b/tests/results/test/20_2family_looks_like_variable/makedict/all.json new file mode 100644 index 0000000..92037c1 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable/makedict/all.json @@ -0,0 +1,3 @@ +{ + "my_family.default": true +} diff --git a/tests/results/test/20_2family_looks_like_variable/makedict/mandatories.json b/tests/results/test/20_2family_looks_like_variable/makedict/mandatories.json new file mode 100644 index 0000000..92037c1 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "my_family.default": true +} diff --git a/tests/results/test_namespace/00_6string/file/all.env b/tests/results/test_namespace/00_6string/file/all.env index 2f51b8a..9d70eb5 100644 --- a/tests/results/test_namespace/00_6string/file/all.env +++ b/tests/results/test_namespace/00_6string/file/all.env @@ -4,3 +4,5 @@ ROUGAIL.VAR3="string1" ROUGAIL.VAR4="string1" ROUGAIL.VAR5="string1" ROUGAIL.VAR6="string1" +ROUGAIL.VAR7="string1" +ROUGAIL.VAR8="string1" diff --git a/tests/results/test_namespace/00_6string/file/all_exclude.env b/tests/results/test_namespace/00_6string/file/all_exclude.env index 2f51b8a..9d70eb5 100644 --- a/tests/results/test_namespace/00_6string/file/all_exclude.env +++ b/tests/results/test_namespace/00_6string/file/all_exclude.env @@ -4,3 +4,5 @@ ROUGAIL.VAR3="string1" ROUGAIL.VAR4="string1" ROUGAIL.VAR5="string1" ROUGAIL.VAR6="string1" +ROUGAIL.VAR7="string1" +ROUGAIL.VAR8="string1" diff --git a/tests/results/test_namespace/00_6string/makedict/all.json b/tests/results/test_namespace/00_6string/makedict/all.json index a97f88d..054e55d 100644 --- a/tests/results/test_namespace/00_6string/makedict/all.json +++ b/tests/results/test_namespace/00_6string/makedict/all.json @@ -4,5 +4,7 @@ "rougail.var3": "string1", "rougail.var4": "string1", "rougail.var5": "string1", - "rougail.var6": "string1" + "rougail.var6": "string1", + "rougail.var7": "string1", + "rougail.var8": "string1" } diff --git a/tests/results/test_namespace/00_6string/makedict/mandatories.json b/tests/results/test_namespace/00_6string/makedict/mandatories.json index b05a178..9457337 100644 --- a/tests/results/test_namespace/00_6string/makedict/mandatories.json +++ b/tests/results/test_namespace/00_6string/makedict/mandatories.json @@ -4,5 +4,7 @@ "rougail.var3": "string1", "rougail.var4": "value", "rougail.var5": "value", - "rougail.var6": "value" + "rougail.var6": "value", + "rougail.var7": "8080", + "rougail.var8": "true" } diff --git a/tests/results/test_namespace/04_5disabled_calculation_optional_default/errors/all.json b/tests/results/test_namespace/04_5disabled_calculation_optional_default/errors/all.json index 2cbda34..8539ecd 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_optional_default/errors/all.json +++ b/tests/results/test_namespace/04_5disabled_calculation_optional_default/errors/all.json @@ -1,8 +1,8 @@ { "errors": [], "warnings": [ - "variable \"rougail.var1\" (a first variable) is hidden, it will be ignored when loading from environment variable", "variable \"rougail.var2\" (a first variable) is hidden, it will be ignored when loading from environment variable", - "variable \"rougail.var3\" (a second variable) is hidden, it will be ignored when loading from environment variable" + "variable \"rougail.var3\" (a second variable) is hidden, it will be ignored when loading from environment variable", + "variable \"rougail.var4\" (a forth variable) is hidden, it will be ignored when loading from environment variable" ] } \ No newline at end of file diff --git a/tests/results/test_namespace/04_5disabled_calculation_optional_default/file/all.env b/tests/results/test_namespace/04_5disabled_calculation_optional_default/file/all.env index 69c898e..ab59e99 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_optional_default/file/all.env +++ b/tests/results/test_namespace/04_5disabled_calculation_optional_default/file/all.env @@ -2,3 +2,4 @@ ROUGAIL.CONDITION="True" ROUGAIL.VAR1="string1" ROUGAIL.VAR2="string1" ROUGAIL.VAR3="string1" +ROUGAIL.VAR4="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_optional_default/file/all_exclude.env b/tests/results/test_namespace/04_5disabled_calculation_optional_default/file/all_exclude.env index 69c898e..ab59e99 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_optional_default/file/all_exclude.env +++ b/tests/results/test_namespace/04_5disabled_calculation_optional_default/file/all_exclude.env @@ -2,3 +2,4 @@ ROUGAIL.CONDITION="True" ROUGAIL.VAR1="string1" ROUGAIL.VAR2="string1" ROUGAIL.VAR3="string1" +ROUGAIL.VAR4="string1" diff --git a/tests/results/test_namespace/04_5disabled_calculation_optional_default/makedict/all.json b/tests/results/test_namespace/04_5disabled_calculation_optional_default/makedict/all.json index 7986869..343410a 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_optional_default/makedict/all.json +++ b/tests/results/test_namespace/04_5disabled_calculation_optional_default/makedict/all.json @@ -1,6 +1,6 @@ { "rougail.condition": true, - "rougail.var1": null, + "rougail.var1": "string1", "rougail.var2": null, "rougail.var3": null, "rougail.var4": null diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic/errors/all.json b/tests/results/test_namespace/20_2family_looks_like_dynamic/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic/errors/mandatories.json b/tests/results/test_namespace/20_2family_looks_like_dynamic/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic/file/all.env b/tests/results/test_namespace/20_2family_looks_like_dynamic/file/all.env new file mode 100644 index 0000000..6a3d52b --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic/file/all.env @@ -0,0 +1,2 @@ +ROUGAIL.MY_FAMILY.DYNAMIC="string1,string2,string3" +ROUGAIL.MY_FAMILY.VAR="True" diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic/file/all_exclude.env b/tests/results/test_namespace/20_2family_looks_like_dynamic/file/all_exclude.env new file mode 100644 index 0000000..6a3d52b --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic/file/all_exclude.env @@ -0,0 +1,2 @@ +ROUGAIL.MY_FAMILY.DYNAMIC="string1,string2,string3" +ROUGAIL.MY_FAMILY.VAR="True" diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic/file/mandatories.env b/tests/results/test_namespace/20_2family_looks_like_dynamic/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic/makedict/all.json b/tests/results/test_namespace/20_2family_looks_like_dynamic/makedict/all.json new file mode 100644 index 0000000..cc22a84 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.my_family.dynamic": [ + "string1", + "string2", + "string3" + ], + "rougail.my_family.var": true +} diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic/makedict/mandatories.json b/tests/results/test_namespace/20_2family_looks_like_dynamic/makedict/mandatories.json new file mode 100644 index 0000000..b99e144 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic/makedict/mandatories.json @@ -0,0 +1,7 @@ +{ + "rougail.my_family.dynamic": [ + "val1", + "val2" + ], + "rougail.my_family.var": true +} diff --git a/tests/results/test_namespace/20_2family_looks_like_variable/errors/all.json b/tests/results/test_namespace/20_2family_looks_like_variable/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/20_2family_looks_like_variable/errors/mandatories.json b/tests/results/test_namespace/20_2family_looks_like_variable/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/test_namespace/20_2family_looks_like_variable/file/all.env b/tests/results/test_namespace/20_2family_looks_like_variable/file/all.env new file mode 100644 index 0000000..edf09a9 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable/file/all.env @@ -0,0 +1 @@ +ROUGAIL.MY_FAMILY.DEFAULT="True" diff --git a/tests/results/test_namespace/20_2family_looks_like_variable/file/all_exclude.env b/tests/results/test_namespace/20_2family_looks_like_variable/file/all_exclude.env new file mode 100644 index 0000000..edf09a9 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable/file/all_exclude.env @@ -0,0 +1 @@ +ROUGAIL.MY_FAMILY.DEFAULT="True" diff --git a/tests/results/test_namespace/20_2family_looks_like_variable/file/mandatories.env b/tests/results/test_namespace/20_2family_looks_like_variable/file/mandatories.env new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable/file/mandatories.env @@ -0,0 +1 @@ + diff --git a/tests/results/test_namespace/20_2family_looks_like_variable/makedict/all.json b/tests/results/test_namespace/20_2family_looks_like_variable/makedict/all.json new file mode 100644 index 0000000..b42843d --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.my_family.default": true +} diff --git a/tests/results/test_namespace/20_2family_looks_like_variable/makedict/mandatories.json b/tests/results/test_namespace/20_2family_looks_like_variable/makedict/mandatories.json new file mode 100644 index 0000000..b42843d --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.my_family.default": true +}