diff --git a/tests/layers-dyn-values-metaconfig-mix-results/display.gitlab.md b/tests/layers-dyn-values-metaconfig-mix-results/display.gitlab.md new file mode 100644 index 00000000..4f6dabc5 --- /dev/null +++ b/tests/layers-dyn-values-metaconfig-mix-results/display.gitlab.md @@ -0,0 +1,23 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +> [!note] Layers: +> +> - name1 +> - name2 +> - name3 +> - name4 +Variables: +- :notebook: dynamics (a dynamics variable): + - [- metaconfig2 -] (:hourglass_flowing_sand: metaconfig2 :hourglass_flowing_sand: metaconfig2) + - [- metaconfig1 -] (:hourglass_flowing_sand: metaconfig1) + - [- config -] +- :open_file_folder: dynmetaconfig2 + - :notebook: a_variable (my variable only to test): [- a modified value -] ← loaded from source1 (:hourglass_flowing_sand: a value) +- :open_file_folder: dynmetaconfig1 + - :notebook: a_variable (my variable only to test): [- a modified value -] ← loaded from source2 +- :open_file_folder: dynconfig + - :notebook: a_variable (my variable only to test): [- a modified value -] ← loaded from source3 diff --git a/tests/layers-dyn-values-metaconfig-mix-results/display.md b/tests/layers-dyn-values-metaconfig-mix-results/display.md new file mode 100644 index 00000000..f4466805 --- /dev/null +++ b/tests/layers-dyn-values-metaconfig-mix-results/display.md @@ -0,0 +1,25 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +> [!NOTE] +> +> **Layers:** +> - name1 +> - name2 +> - name3 +> - name4 +Variables: +- :notebook: dynamics (a dynamics variable): + - metaconfig2 (:hourglass_flowing_sand: metaconfig2 :hourglass_flowing_sand: metaconfig2) + - metaconfig1 (:hourglass_flowing_sand: metaconfig1) + - config +- :open_file_folder: dynmetaconfig2 + - :notebook: a_variable (my variable only to test): a modified value ← loaded from source1 (:hourglass_flowing_sand: a value) +- :open_file_folder: dynmetaconfig1 + - :notebook: a_variable (my variable only to test): a modified value ← loaded from source2 +- :open_file_folder: dynconfig + - :notebook: a_variable (my variable only to test): a modified value ← loaded from source3 diff --git a/tests/layers-dyn-values-metaconfig-mix-results/display.sh b/tests/layers-dyn-values-metaconfig-mix-results/display.sh new file mode 100644 index 00000000..74f4c1ef --- /dev/null +++ b/tests/layers-dyn-values-metaconfig-mix-results/display.sh @@ -0,0 +1,21 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +╭─ Layers ─╮ +│ • name1 │ +│ • name2 │ +│ • name3 │ +│ • name4 │ +╰──────────╯ +Variables: +┣━━ 📓 dynamics (a dynamics variable): +┃ ┣━━ metaconfig2 (⏳ metaconfig2 ⏳ metaconfig2) +┃ ┣━━ metaconfig1 (⏳ metaconfig1) +┃ ┗━━ config +┣━━ 📂 dynmetaconfig2 +┃ ┗━━ 📓 a_variable (my variable only to test): a modified value ◀ loaded from source1 (⏳ a value) +┣━━ 📂 dynmetaconfig1 +┃ ┗━━ 📓 a_variable (my variable only to test): a modified value ◀ loaded from source2 +┗━━ 📂 dynconfig + ┗━━ 📓 a_variable (my variable only to test): a modified value ◀ loaded from source3 diff --git a/tests/layers_dyn/rougail/00-file.yml b/tests/layers_dyn/rougail/00-file.yml new file mode 100644 index 00000000..ef5b8bbe --- /dev/null +++ b/tests/layers_dyn/rougail/00-file.yml @@ -0,0 +1,12 @@ +%YAML 1.2 +--- +version: 1.1 + +dynamics: [] # a dynamics variable + +dyn{{ identifier }}: + dynamic: + variable: _.dynamics + + a_variable: a value # my variable only to test +... diff --git a/tests/results/test/00_2default_with_exclamation.gitlab.md b/tests/results/test/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..233924a3 --- /dev/null +++ b/tests/results/test/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,8 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :notebook: a first variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test/00_2default_with_exclamation.md b/tests/results/test/00_2default_with_exclamation.md new file mode 100644 index 00000000..39337906 --- /dev/null +++ b/tests/results/test/00_2default_with_exclamation.md @@ -0,0 +1,9 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :notebook: a first variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test/00_2default_with_exclamation.sh b/tests/results/test/00_2default_with_exclamation.sh new file mode 100644 index 00000000..4b61e337 --- /dev/null +++ b/tests/results/test/00_2default_with_exclamation.sh @@ -0,0 +1,6 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +Variables: +┗━━ 📓 a first variable: string1 ◀ loaded from rougail-test (⏳ My%Val;ue$#!1su:) diff --git a/tests/results/test/00_7help.gitlab.md b/tests/results/test/00_7help.gitlab.md index 7659b9a1..410e40f5 100644 --- a/tests/results/test/00_7help.gitlab.md +++ b/tests/results/test/00_7help.gitlab.md @@ -6,3 +6,4 @@ Variables: - :notebook: the first variable: [- string1 -] ← loaded from rougail-test - :notebook: the second variable: [- string1 -] ← loaded from rougail-test +- :notebook: the third variable with spaces: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test/00_7help.md b/tests/results/test/00_7help.md index 2c89fd30..c9e8549d 100644 --- a/tests/results/test/00_7help.md +++ b/tests/results/test/00_7help.md @@ -7,3 +7,4 @@ Variables: - :notebook: the first variable: string1 ← loaded from rougail-test - :notebook: the second variable: string1 ← loaded from rougail-test +- :notebook: the third variable with spaces: string1 ← loaded from rougail-test diff --git a/tests/results/test/00_7help.sh b/tests/results/test/00_7help.sh index 5119d901..a6ecd922 100644 --- a/tests/results/test/00_7help.sh +++ b/tests/results/test/00_7help.sh @@ -3,4 +3,5 @@ ╰─────────────────────────╯ Variables: ┣━━ 📓 the first variable: string1 ◀ loaded from rougail-test -┗━━ 📓 the second variable: string1 ◀ loaded from rougail-test +┣━━ 📓 the second variable: string1 ◀ loaded from rougail-test +┗━━ 📓 the third variable with spaces: string1 ◀ loaded from rougail-test diff --git a/tests/results/test/20_7help_family.gitlab.md b/tests/results/test/20_7help_family.gitlab.md index cbf4068a..ef0a07bd 100644 --- a/tests/results/test/20_7help_family.gitlab.md +++ b/tests/results/test/20_7help_family.gitlab.md @@ -8,3 +8,5 @@ Variables: - :notebook: var: [- string1 -] ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: [- string1 -] ← loaded from rougail-test +- :open_file_folder: the third family with space + - :notebook: A variable: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test/20_7help_family.md b/tests/results/test/20_7help_family.md index 41f2acc7..f7a88502 100644 --- a/tests/results/test/20_7help_family.md +++ b/tests/results/test/20_7help_family.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: string1 ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: string1 ← loaded from rougail-test +- :open_file_folder: the third family with space + - :notebook: A variable: string1 ← loaded from rougail-test diff --git a/tests/results/test/20_7help_family.sh b/tests/results/test/20_7help_family.sh index c9bbc685..5a3c1203 100644 --- a/tests/results/test/20_7help_family.sh +++ b/tests/results/test/20_7help_family.sh @@ -4,5 +4,7 @@ Variables: ┣━━ 📂 the first family ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test -┗━━ 📂 the second family - ┗━━ 📓 var: string1 ◀ loaded from rougail-test +┣━━ 📂 the second family +┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test +┗━━ 📂 the third family with space + ┗━━ 📓 A variable: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_namespace/00_2default_with_exclamation.gitlab.md b/tests/results/test_namespace/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..0f725055 --- /dev/null +++ b/tests/results/test_namespace/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,9 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace/00_2default_with_exclamation.md b/tests/results/test_namespace/00_2default_with_exclamation.md new file mode 100644 index 00000000..6deac339 --- /dev/null +++ b/tests/results/test_namespace/00_2default_with_exclamation.md @@ -0,0 +1,10 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace/00_2default_with_exclamation.sh b/tests/results/test_namespace/00_2default_with_exclamation.sh new file mode 100644 index 00000000..0a6b5777 --- /dev/null +++ b/tests/results/test_namespace/00_2default_with_exclamation.sh @@ -0,0 +1,7 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┗━━ 📓 a first variable: string1 ◀ loaded from rougail-test (⏳ My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace/00_7help.gitlab.md b/tests/results/test_namespace/00_7help.gitlab.md index 28a1d218..43c84151 100644 --- a/tests/results/test_namespace/00_7help.gitlab.md +++ b/tests/results/test_namespace/00_7help.gitlab.md @@ -7,3 +7,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: [- string1 -] ← loaded from rougail-test - :notebook: the second variable: [- string1 -] ← loaded from rougail-test + - :notebook: the third variable with spaces: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_namespace/00_7help.md b/tests/results/test_namespace/00_7help.md index da221c00..a336a5a1 100644 --- a/tests/results/test_namespace/00_7help.md +++ b/tests/results/test_namespace/00_7help.md @@ -8,3 +8,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: string1 ← loaded from rougail-test - :notebook: the second variable: string1 ← loaded from rougail-test + - :notebook: the third variable with spaces: string1 ← loaded from rougail-test diff --git a/tests/results/test_namespace/00_7help.sh b/tests/results/test_namespace/00_7help.sh index 8a20d78b..ef1c5cd7 100644 --- a/tests/results/test_namespace/00_7help.sh +++ b/tests/results/test_namespace/00_7help.sh @@ -4,4 +4,5 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📓 the first variable: string1 ◀ loaded from rougail-test - ┗━━ 📓 the second variable: string1 ◀ loaded from rougail-test + ┣━━ 📓 the second variable: string1 ◀ loaded from rougail-test + ┗━━ 📓 the third variable with spaces: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_namespace/20_7help_family.gitlab.md b/tests/results/test_namespace/20_7help_family.gitlab.md index 7818a4f7..90d5ed8f 100644 --- a/tests/results/test_namespace/20_7help_family.gitlab.md +++ b/tests/results/test_namespace/20_7help_family.gitlab.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: [- string1 -] ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: [- string1 -] ← loaded from rougail-test + - :open_file_folder: the third family with space + - :notebook: A variable: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_namespace/20_7help_family.md b/tests/results/test_namespace/20_7help_family.md index 4351668d..9b171e28 100644 --- a/tests/results/test_namespace/20_7help_family.md +++ b/tests/results/test_namespace/20_7help_family.md @@ -10,3 +10,5 @@ Variables: - :notebook: var: string1 ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: string1 ← loaded from rougail-test + - :open_file_folder: the third family with space + - :notebook: A variable: string1 ← loaded from rougail-test diff --git a/tests/results/test_namespace/20_7help_family.sh b/tests/results/test_namespace/20_7help_family.sh index f302d635..ff7e6663 100644 --- a/tests/results/test_namespace/20_7help_family.sh +++ b/tests/results/test_namespace/20_7help_family.sh @@ -5,5 +5,7 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📂 the first family  ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test - ┗━━ 📂 the second family -  ┗━━ 📓 var: string1 ◀ loaded from rougail-test + ┣━━ 📂 the second family + ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test + ┗━━ 📂 the third family with space +  ┗━━ 📓 A variable: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_namespace_read_write/00_2default_with_exclamation.gitlab.md b/tests/results/test_namespace_read_write/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..0f725055 --- /dev/null +++ b/tests/results/test_namespace_read_write/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,9 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_read_write/00_2default_with_exclamation.md b/tests/results/test_namespace_read_write/00_2default_with_exclamation.md new file mode 100644 index 00000000..6deac339 --- /dev/null +++ b/tests/results/test_namespace_read_write/00_2default_with_exclamation.md @@ -0,0 +1,10 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_read_write/00_2default_with_exclamation.sh b/tests/results/test_namespace_read_write/00_2default_with_exclamation.sh new file mode 100644 index 00000000..0a6b5777 --- /dev/null +++ b/tests/results/test_namespace_read_write/00_2default_with_exclamation.sh @@ -0,0 +1,7 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┗━━ 📓 a first variable: string1 ◀ loaded from rougail-test (⏳ My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_read_write/00_7help.gitlab.md b/tests/results/test_namespace_read_write/00_7help.gitlab.md index 28a1d218..43c84151 100644 --- a/tests/results/test_namespace_read_write/00_7help.gitlab.md +++ b/tests/results/test_namespace_read_write/00_7help.gitlab.md @@ -7,3 +7,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: [- string1 -] ← loaded from rougail-test - :notebook: the second variable: [- string1 -] ← loaded from rougail-test + - :notebook: the third variable with spaces: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_namespace_read_write/00_7help.md b/tests/results/test_namespace_read_write/00_7help.md index da221c00..a336a5a1 100644 --- a/tests/results/test_namespace_read_write/00_7help.md +++ b/tests/results/test_namespace_read_write/00_7help.md @@ -8,3 +8,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: string1 ← loaded from rougail-test - :notebook: the second variable: string1 ← loaded from rougail-test + - :notebook: the third variable with spaces: string1 ← loaded from rougail-test diff --git a/tests/results/test_namespace_read_write/00_7help.sh b/tests/results/test_namespace_read_write/00_7help.sh index 8a20d78b..ef1c5cd7 100644 --- a/tests/results/test_namespace_read_write/00_7help.sh +++ b/tests/results/test_namespace_read_write/00_7help.sh @@ -4,4 +4,5 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📓 the first variable: string1 ◀ loaded from rougail-test - ┗━━ 📓 the second variable: string1 ◀ loaded from rougail-test + ┣━━ 📓 the second variable: string1 ◀ loaded from rougail-test + ┗━━ 📓 the third variable with spaces: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_namespace_read_write/20_7help_family.gitlab.md b/tests/results/test_namespace_read_write/20_7help_family.gitlab.md index 7818a4f7..90d5ed8f 100644 --- a/tests/results/test_namespace_read_write/20_7help_family.gitlab.md +++ b/tests/results/test_namespace_read_write/20_7help_family.gitlab.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: [- string1 -] ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: [- string1 -] ← loaded from rougail-test + - :open_file_folder: the third family with space + - :notebook: A variable: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_namespace_read_write/20_7help_family.md b/tests/results/test_namespace_read_write/20_7help_family.md index 4351668d..9b171e28 100644 --- a/tests/results/test_namespace_read_write/20_7help_family.md +++ b/tests/results/test_namespace_read_write/20_7help_family.md @@ -10,3 +10,5 @@ Variables: - :notebook: var: string1 ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: string1 ← loaded from rougail-test + - :open_file_folder: the third family with space + - :notebook: A variable: string1 ← loaded from rougail-test diff --git a/tests/results/test_namespace_read_write/20_7help_family.sh b/tests/results/test_namespace_read_write/20_7help_family.sh index f302d635..ff7e6663 100644 --- a/tests/results/test_namespace_read_write/20_7help_family.sh +++ b/tests/results/test_namespace_read_write/20_7help_family.sh @@ -5,5 +5,7 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📂 the first family  ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test - ┗━━ 📂 the second family -  ┗━━ 📓 var: string1 ◀ loaded from rougail-test + ┣━━ 📂 the second family + ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test + ┗━━ 📂 the third family with space +  ┗━━ 📓 A variable: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.gitlab.md b/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..a4eb86bf --- /dev/null +++ b/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,8 @@ +> [!note] Caption: +> +> - Variable +> - [+ Default value +] + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: [+ My%Val;ue$#!1su: +] diff --git a/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.md b/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.md new file mode 100644 index 00000000..74e82701 --- /dev/null +++ b/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.md @@ -0,0 +1,9 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Default value + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: My%Val;ue$#!1su: diff --git a/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.sh b/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.sh new file mode 100644 index 00000000..6bcc1393 --- /dev/null +++ b/tests/results/test_namespace_read_write_errors/00_2default_with_exclamation.sh @@ -0,0 +1,6 @@ +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┗━━ 📓 a first variable: My%Val;ue$#!1su: diff --git a/tests/results/test_namespace_read_write_errors/00_7help.gitlab.md b/tests/results/test_namespace_read_write_errors/00_7help.gitlab.md index b7c561ce..d532cbaf 100644 --- a/tests/results/test_namespace_read_write_errors/00_7help.gitlab.md +++ b/tests/results/test_namespace_read_write_errors/00_7help.gitlab.md @@ -7,3 +7,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: [+ null +] - :notebook: the second variable: [+ null +] + - :notebook: the third variable with spaces: [+ null +] diff --git a/tests/results/test_namespace_read_write_errors/00_7help.md b/tests/results/test_namespace_read_write_errors/00_7help.md index 6fd2ea03..0ea67152 100644 --- a/tests/results/test_namespace_read_write_errors/00_7help.md +++ b/tests/results/test_namespace_read_write_errors/00_7help.md @@ -8,3 +8,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: null - :notebook: the second variable: null + - :notebook: the third variable with spaces: null diff --git a/tests/results/test_namespace_read_write_errors/00_7help.sh b/tests/results/test_namespace_read_write_errors/00_7help.sh index c9ca667a..f9de8c35 100644 --- a/tests/results/test_namespace_read_write_errors/00_7help.sh +++ b/tests/results/test_namespace_read_write_errors/00_7help.sh @@ -4,4 +4,5 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📓 the first variable: null - ┗━━ 📓 the second variable: null + ┣━━ 📓 the second variable: null + ┗━━ 📓 the third variable with spaces: null diff --git a/tests/results/test_namespace_read_write_errors/20_7help_family.gitlab.md b/tests/results/test_namespace_read_write_errors/20_7help_family.gitlab.md index 4169f515..3ae69a3f 100644 --- a/tests/results/test_namespace_read_write_errors/20_7help_family.gitlab.md +++ b/tests/results/test_namespace_read_write_errors/20_7help_family.gitlab.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: [+ null +] - :open_file_folder: the second family - :notebook: var: [+ null +] + - :open_file_folder: the third family with space + - :notebook: A variable: [+ null +] diff --git a/tests/results/test_namespace_read_write_errors/20_7help_family.md b/tests/results/test_namespace_read_write_errors/20_7help_family.md index 7f083b06..24d34e11 100644 --- a/tests/results/test_namespace_read_write_errors/20_7help_family.md +++ b/tests/results/test_namespace_read_write_errors/20_7help_family.md @@ -10,3 +10,5 @@ Variables: - :notebook: var: null - :open_file_folder: the second family - :notebook: var: null + - :open_file_folder: the third family with space + - :notebook: A variable: null diff --git a/tests/results/test_namespace_read_write_errors/20_7help_family.sh b/tests/results/test_namespace_read_write_errors/20_7help_family.sh index 2e0970b8..cf739f07 100644 --- a/tests/results/test_namespace_read_write_errors/20_7help_family.sh +++ b/tests/results/test_namespace_read_write_errors/20_7help_family.sh @@ -5,5 +5,7 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📂 the first family  ┃ ┗━━ 📓 var: null - ┗━━ 📂 the second family -  ┗━━ 📓 var: null + ┣━━ 📂 the second family + ┃ ┗━━ 📓 var: null + ┗━━ 📂 the third family with space +  ┗━━ 📓 A variable: null diff --git a/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.gitlab.md b/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..0f725055 --- /dev/null +++ b/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,9 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.md b/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.md new file mode 100644 index 00000000..6deac339 --- /dev/null +++ b/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.md @@ -0,0 +1,10 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.sh b/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.sh new file mode 100644 index 00000000..0a6b5777 --- /dev/null +++ b/tests/results/test_namespace_read_write_secrets/00_2default_with_exclamation.sh @@ -0,0 +1,7 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┗━━ 📓 a first variable: string1 ◀ loaded from rougail-test (⏳ My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_read_write_secrets/00_7help.gitlab.md b/tests/results/test_namespace_read_write_secrets/00_7help.gitlab.md index 28a1d218..43c84151 100644 --- a/tests/results/test_namespace_read_write_secrets/00_7help.gitlab.md +++ b/tests/results/test_namespace_read_write_secrets/00_7help.gitlab.md @@ -7,3 +7,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: [- string1 -] ← loaded from rougail-test - :notebook: the second variable: [- string1 -] ← loaded from rougail-test + - :notebook: the third variable with spaces: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_namespace_read_write_secrets/00_7help.md b/tests/results/test_namespace_read_write_secrets/00_7help.md index da221c00..a336a5a1 100644 --- a/tests/results/test_namespace_read_write_secrets/00_7help.md +++ b/tests/results/test_namespace_read_write_secrets/00_7help.md @@ -8,3 +8,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: string1 ← loaded from rougail-test - :notebook: the second variable: string1 ← loaded from rougail-test + - :notebook: the third variable with spaces: string1 ← loaded from rougail-test diff --git a/tests/results/test_namespace_read_write_secrets/00_7help.sh b/tests/results/test_namespace_read_write_secrets/00_7help.sh index 8a20d78b..ef1c5cd7 100644 --- a/tests/results/test_namespace_read_write_secrets/00_7help.sh +++ b/tests/results/test_namespace_read_write_secrets/00_7help.sh @@ -4,4 +4,5 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📓 the first variable: string1 ◀ loaded from rougail-test - ┗━━ 📓 the second variable: string1 ◀ loaded from rougail-test + ┣━━ 📓 the second variable: string1 ◀ loaded from rougail-test + ┗━━ 📓 the third variable with spaces: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_namespace_read_write_secrets/20_7help_family.gitlab.md b/tests/results/test_namespace_read_write_secrets/20_7help_family.gitlab.md index 7818a4f7..90d5ed8f 100644 --- a/tests/results/test_namespace_read_write_secrets/20_7help_family.gitlab.md +++ b/tests/results/test_namespace_read_write_secrets/20_7help_family.gitlab.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: [- string1 -] ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: [- string1 -] ← loaded from rougail-test + - :open_file_folder: the third family with space + - :notebook: A variable: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_namespace_read_write_secrets/20_7help_family.md b/tests/results/test_namespace_read_write_secrets/20_7help_family.md index 4351668d..9b171e28 100644 --- a/tests/results/test_namespace_read_write_secrets/20_7help_family.md +++ b/tests/results/test_namespace_read_write_secrets/20_7help_family.md @@ -10,3 +10,5 @@ Variables: - :notebook: var: string1 ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: string1 ← loaded from rougail-test + - :open_file_folder: the third family with space + - :notebook: A variable: string1 ← loaded from rougail-test diff --git a/tests/results/test_namespace_read_write_secrets/20_7help_family.sh b/tests/results/test_namespace_read_write_secrets/20_7help_family.sh index f302d635..ff7e6663 100644 --- a/tests/results/test_namespace_read_write_secrets/20_7help_family.sh +++ b/tests/results/test_namespace_read_write_secrets/20_7help_family.sh @@ -5,5 +5,7 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📂 the first family  ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test - ┗━━ 📂 the second family -  ┗━━ 📓 var: string1 ◀ loaded from rougail-test + ┣━━ 📂 the second family + ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test + ┗━━ 📂 the third family with space +  ┗━━ 📓 A variable: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.gitlab.md b/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..a4eb86bf --- /dev/null +++ b/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,8 @@ +> [!note] Caption: +> +> - Variable +> - [+ Default value +] + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: [+ My%Val;ue$#!1su: +] diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.md b/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.md new file mode 100644 index 00000000..74e82701 --- /dev/null +++ b/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.md @@ -0,0 +1,9 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Default value + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: My%Val;ue$#!1su: diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.sh b/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.sh new file mode 100644 index 00000000..6bcc1393 --- /dev/null +++ b/tests/results/test_namespace_read_write_secrets_errors/00_2default_with_exclamation.sh @@ -0,0 +1,6 @@ +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┗━━ 📓 a first variable: My%Val;ue$#!1su: diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_7help.gitlab.md b/tests/results/test_namespace_read_write_secrets_errors/00_7help.gitlab.md index b7c561ce..d532cbaf 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/00_7help.gitlab.md +++ b/tests/results/test_namespace_read_write_secrets_errors/00_7help.gitlab.md @@ -7,3 +7,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: [+ null +] - :notebook: the second variable: [+ null +] + - :notebook: the third variable with spaces: [+ null +] diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_7help.md b/tests/results/test_namespace_read_write_secrets_errors/00_7help.md index 6fd2ea03..0ea67152 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/00_7help.md +++ b/tests/results/test_namespace_read_write_secrets_errors/00_7help.md @@ -8,3 +8,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: null - :notebook: the second variable: null + - :notebook: the third variable with spaces: null diff --git a/tests/results/test_namespace_read_write_secrets_errors/00_7help.sh b/tests/results/test_namespace_read_write_secrets_errors/00_7help.sh index c9ca667a..f9de8c35 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/00_7help.sh +++ b/tests/results/test_namespace_read_write_secrets_errors/00_7help.sh @@ -4,4 +4,5 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📓 the first variable: null - ┗━━ 📓 the second variable: null + ┣━━ 📓 the second variable: null + ┗━━ 📓 the third variable with spaces: null diff --git a/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.gitlab.md b/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.gitlab.md index 4169f515..3ae69a3f 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.gitlab.md +++ b/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.gitlab.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: [+ null +] - :open_file_folder: the second family - :notebook: var: [+ null +] + - :open_file_folder: the third family with space + - :notebook: A variable: [+ null +] diff --git a/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.md b/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.md index 7f083b06..24d34e11 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.md +++ b/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.md @@ -10,3 +10,5 @@ Variables: - :notebook: var: null - :open_file_folder: the second family - :notebook: var: null + - :open_file_folder: the third family with space + - :notebook: A variable: null diff --git a/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.sh b/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.sh index 2e0970b8..cf739f07 100644 --- a/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.sh +++ b/tests/results/test_namespace_read_write_secrets_errors/20_7help_family.sh @@ -5,5 +5,7 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📂 the first family  ┃ ┗━━ 📓 var: null - ┗━━ 📂 the second family -  ┗━━ 📓 var: null + ┣━━ 📂 the second family + ┃ ┗━━ 📓 var: null + ┗━━ 📂 the third family with space +  ┗━━ 📓 A variable: null diff --git a/tests/results/test_namespace_secrets/00_2default_with_exclamation.gitlab.md b/tests/results/test_namespace_secrets/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..0f725055 --- /dev/null +++ b/tests/results/test_namespace_secrets/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,9 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_secrets/00_2default_with_exclamation.md b/tests/results/test_namespace_secrets/00_2default_with_exclamation.md new file mode 100644 index 00000000..6deac339 --- /dev/null +++ b/tests/results/test_namespace_secrets/00_2default_with_exclamation.md @@ -0,0 +1,10 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :open_file_folder: Rougail + - :notebook: a first variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_secrets/00_2default_with_exclamation.sh b/tests/results/test_namespace_secrets/00_2default_with_exclamation.sh new file mode 100644 index 00000000..0a6b5777 --- /dev/null +++ b/tests/results/test_namespace_secrets/00_2default_with_exclamation.sh @@ -0,0 +1,7 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┗━━ 📓 a first variable: string1 ◀ loaded from rougail-test (⏳ My%Val;ue$#!1su:) diff --git a/tests/results/test_namespace_secrets/00_7help.gitlab.md b/tests/results/test_namespace_secrets/00_7help.gitlab.md index 28a1d218..43c84151 100644 --- a/tests/results/test_namespace_secrets/00_7help.gitlab.md +++ b/tests/results/test_namespace_secrets/00_7help.gitlab.md @@ -7,3 +7,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: [- string1 -] ← loaded from rougail-test - :notebook: the second variable: [- string1 -] ← loaded from rougail-test + - :notebook: the third variable with spaces: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_namespace_secrets/00_7help.md b/tests/results/test_namespace_secrets/00_7help.md index da221c00..a336a5a1 100644 --- a/tests/results/test_namespace_secrets/00_7help.md +++ b/tests/results/test_namespace_secrets/00_7help.md @@ -8,3 +8,4 @@ Variables: - :open_file_folder: Rougail - :notebook: the first variable: string1 ← loaded from rougail-test - :notebook: the second variable: string1 ← loaded from rougail-test + - :notebook: the third variable with spaces: string1 ← loaded from rougail-test diff --git a/tests/results/test_namespace_secrets/00_7help.sh b/tests/results/test_namespace_secrets/00_7help.sh index 8a20d78b..ef1c5cd7 100644 --- a/tests/results/test_namespace_secrets/00_7help.sh +++ b/tests/results/test_namespace_secrets/00_7help.sh @@ -4,4 +4,5 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📓 the first variable: string1 ◀ loaded from rougail-test - ┗━━ 📓 the second variable: string1 ◀ loaded from rougail-test + ┣━━ 📓 the second variable: string1 ◀ loaded from rougail-test + ┗━━ 📓 the third variable with spaces: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_namespace_secrets/20_7help_family.gitlab.md b/tests/results/test_namespace_secrets/20_7help_family.gitlab.md index 7818a4f7..90d5ed8f 100644 --- a/tests/results/test_namespace_secrets/20_7help_family.gitlab.md +++ b/tests/results/test_namespace_secrets/20_7help_family.gitlab.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: [- string1 -] ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: [- string1 -] ← loaded from rougail-test + - :open_file_folder: the third family with space + - :notebook: A variable: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_namespace_secrets/20_7help_family.md b/tests/results/test_namespace_secrets/20_7help_family.md index 4351668d..9b171e28 100644 --- a/tests/results/test_namespace_secrets/20_7help_family.md +++ b/tests/results/test_namespace_secrets/20_7help_family.md @@ -10,3 +10,5 @@ Variables: - :notebook: var: string1 ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: string1 ← loaded from rougail-test + - :open_file_folder: the third family with space + - :notebook: A variable: string1 ← loaded from rougail-test diff --git a/tests/results/test_namespace_secrets/20_7help_family.sh b/tests/results/test_namespace_secrets/20_7help_family.sh index f302d635..ff7e6663 100644 --- a/tests/results/test_namespace_secrets/20_7help_family.sh +++ b/tests/results/test_namespace_secrets/20_7help_family.sh @@ -5,5 +5,7 @@ Variables: ┗━━ 📂 Rougail  ┣━━ 📂 the first family  ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test - ┗━━ 📂 the second family -  ┗━━ 📓 var: string1 ◀ loaded from rougail-test + ┣━━ 📂 the second family + ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test + ┗━━ 📂 the third family with space +  ┗━━ 📓 A variable: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_read_write/00_2default_with_exclamation.gitlab.md b/tests/results/test_read_write/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..233924a3 --- /dev/null +++ b/tests/results/test_read_write/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,8 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :notebook: a first variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_read_write/00_2default_with_exclamation.md b/tests/results/test_read_write/00_2default_with_exclamation.md new file mode 100644 index 00000000..39337906 --- /dev/null +++ b/tests/results/test_read_write/00_2default_with_exclamation.md @@ -0,0 +1,9 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :notebook: a first variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_read_write/00_2default_with_exclamation.sh b/tests/results/test_read_write/00_2default_with_exclamation.sh new file mode 100644 index 00000000..4b61e337 --- /dev/null +++ b/tests/results/test_read_write/00_2default_with_exclamation.sh @@ -0,0 +1,6 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +Variables: +┗━━ 📓 a first variable: string1 ◀ loaded from rougail-test (⏳ My%Val;ue$#!1su:) diff --git a/tests/results/test_read_write/00_7help.gitlab.md b/tests/results/test_read_write/00_7help.gitlab.md index 7659b9a1..410e40f5 100644 --- a/tests/results/test_read_write/00_7help.gitlab.md +++ b/tests/results/test_read_write/00_7help.gitlab.md @@ -6,3 +6,4 @@ Variables: - :notebook: the first variable: [- string1 -] ← loaded from rougail-test - :notebook: the second variable: [- string1 -] ← loaded from rougail-test +- :notebook: the third variable with spaces: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_read_write/00_7help.md b/tests/results/test_read_write/00_7help.md index 2c89fd30..c9e8549d 100644 --- a/tests/results/test_read_write/00_7help.md +++ b/tests/results/test_read_write/00_7help.md @@ -7,3 +7,4 @@ Variables: - :notebook: the first variable: string1 ← loaded from rougail-test - :notebook: the second variable: string1 ← loaded from rougail-test +- :notebook: the third variable with spaces: string1 ← loaded from rougail-test diff --git a/tests/results/test_read_write/00_7help.sh b/tests/results/test_read_write/00_7help.sh index 5119d901..a6ecd922 100644 --- a/tests/results/test_read_write/00_7help.sh +++ b/tests/results/test_read_write/00_7help.sh @@ -3,4 +3,5 @@ ╰─────────────────────────╯ Variables: ┣━━ 📓 the first variable: string1 ◀ loaded from rougail-test -┗━━ 📓 the second variable: string1 ◀ loaded from rougail-test +┣━━ 📓 the second variable: string1 ◀ loaded from rougail-test +┗━━ 📓 the third variable with spaces: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_read_write/20_7help_family.gitlab.md b/tests/results/test_read_write/20_7help_family.gitlab.md index cbf4068a..ef0a07bd 100644 --- a/tests/results/test_read_write/20_7help_family.gitlab.md +++ b/tests/results/test_read_write/20_7help_family.gitlab.md @@ -8,3 +8,5 @@ Variables: - :notebook: var: [- string1 -] ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: [- string1 -] ← loaded from rougail-test +- :open_file_folder: the third family with space + - :notebook: A variable: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_read_write/20_7help_family.md b/tests/results/test_read_write/20_7help_family.md index 41f2acc7..f7a88502 100644 --- a/tests/results/test_read_write/20_7help_family.md +++ b/tests/results/test_read_write/20_7help_family.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: string1 ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: string1 ← loaded from rougail-test +- :open_file_folder: the third family with space + - :notebook: A variable: string1 ← loaded from rougail-test diff --git a/tests/results/test_read_write/20_7help_family.sh b/tests/results/test_read_write/20_7help_family.sh index c9bbc685..5a3c1203 100644 --- a/tests/results/test_read_write/20_7help_family.sh +++ b/tests/results/test_read_write/20_7help_family.sh @@ -4,5 +4,7 @@ Variables: ┣━━ 📂 the first family ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test -┗━━ 📂 the second family - ┗━━ 📓 var: string1 ◀ loaded from rougail-test +┣━━ 📂 the second family +┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test +┗━━ 📂 the third family with space + ┗━━ 📓 A variable: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_read_write_errors/00_2default_with_exclamation.gitlab.md b/tests/results/test_read_write_errors/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..06c538ec --- /dev/null +++ b/tests/results/test_read_write_errors/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,7 @@ +> [!note] Caption: +> +> - Variable +> - [+ Default value +] + +Variables: +- :notebook: a first variable: [+ My%Val;ue$#!1su: +] diff --git a/tests/results/test_read_write_errors/00_2default_with_exclamation.md b/tests/results/test_read_write_errors/00_2default_with_exclamation.md new file mode 100644 index 00000000..25837799 --- /dev/null +++ b/tests/results/test_read_write_errors/00_2default_with_exclamation.md @@ -0,0 +1,8 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Default value + +Variables: +- :notebook: a first variable: My%Val;ue$#!1su: diff --git a/tests/results/test_read_write_errors/00_2default_with_exclamation.sh b/tests/results/test_read_write_errors/00_2default_with_exclamation.sh new file mode 100644 index 00000000..1a84bcb5 --- /dev/null +++ b/tests/results/test_read_write_errors/00_2default_with_exclamation.sh @@ -0,0 +1,5 @@ +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┗━━ 📓 a first variable: My%Val;ue$#!1su: diff --git a/tests/results/test_read_write_errors/00_7help.gitlab.md b/tests/results/test_read_write_errors/00_7help.gitlab.md index a0de9d86..30a2b00e 100644 --- a/tests/results/test_read_write_errors/00_7help.gitlab.md +++ b/tests/results/test_read_write_errors/00_7help.gitlab.md @@ -6,3 +6,4 @@ Variables: - :notebook: the first variable: [+ null +] - :notebook: the second variable: [+ null +] +- :notebook: the third variable with spaces: [+ null +] diff --git a/tests/results/test_read_write_errors/00_7help.md b/tests/results/test_read_write_errors/00_7help.md index d504d07a..4e6bdd54 100644 --- a/tests/results/test_read_write_errors/00_7help.md +++ b/tests/results/test_read_write_errors/00_7help.md @@ -7,3 +7,4 @@ Variables: - :notebook: the first variable: null - :notebook: the second variable: null +- :notebook: the third variable with spaces: null diff --git a/tests/results/test_read_write_errors/00_7help.sh b/tests/results/test_read_write_errors/00_7help.sh index bc5e9ab7..3fa82b72 100644 --- a/tests/results/test_read_write_errors/00_7help.sh +++ b/tests/results/test_read_write_errors/00_7help.sh @@ -3,4 +3,5 @@ ╰────────────────────────╯ Variables: ┣━━ 📓 the first variable: null -┗━━ 📓 the second variable: null +┣━━ 📓 the second variable: null +┗━━ 📓 the third variable with spaces: null diff --git a/tests/results/test_read_write_errors/20_7help_family.gitlab.md b/tests/results/test_read_write_errors/20_7help_family.gitlab.md index e2c6bdb2..9f887e89 100644 --- a/tests/results/test_read_write_errors/20_7help_family.gitlab.md +++ b/tests/results/test_read_write_errors/20_7help_family.gitlab.md @@ -8,3 +8,5 @@ Variables: - :notebook: var: [+ null +] - :open_file_folder: the second family - :notebook: var: [+ null +] +- :open_file_folder: the third family with space + - :notebook: A variable: [+ null +] diff --git a/tests/results/test_read_write_errors/20_7help_family.md b/tests/results/test_read_write_errors/20_7help_family.md index b44c2931..d5a8e819 100644 --- a/tests/results/test_read_write_errors/20_7help_family.md +++ b/tests/results/test_read_write_errors/20_7help_family.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: null - :open_file_folder: the second family - :notebook: var: null +- :open_file_folder: the third family with space + - :notebook: A variable: null diff --git a/tests/results/test_read_write_errors/20_7help_family.sh b/tests/results/test_read_write_errors/20_7help_family.sh index 1febf9b7..cfce84ee 100644 --- a/tests/results/test_read_write_errors/20_7help_family.sh +++ b/tests/results/test_read_write_errors/20_7help_family.sh @@ -4,5 +4,7 @@ Variables: ┣━━ 📂 the first family ┃ ┗━━ 📓 var: null -┗━━ 📂 the second family - ┗━━ 📓 var: null +┣━━ 📂 the second family +┃ ┗━━ 📓 var: null +┗━━ 📂 the third family with space + ┗━━ 📓 A variable: null diff --git a/tests/results/test_read_write_secrets/00_2default_with_exclamation.gitlab.md b/tests/results/test_read_write_secrets/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..233924a3 --- /dev/null +++ b/tests/results/test_read_write_secrets/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,8 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :notebook: a first variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_read_write_secrets/00_2default_with_exclamation.md b/tests/results/test_read_write_secrets/00_2default_with_exclamation.md new file mode 100644 index 00000000..39337906 --- /dev/null +++ b/tests/results/test_read_write_secrets/00_2default_with_exclamation.md @@ -0,0 +1,9 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :notebook: a first variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_read_write_secrets/00_2default_with_exclamation.sh b/tests/results/test_read_write_secrets/00_2default_with_exclamation.sh new file mode 100644 index 00000000..4b61e337 --- /dev/null +++ b/tests/results/test_read_write_secrets/00_2default_with_exclamation.sh @@ -0,0 +1,6 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +Variables: +┗━━ 📓 a first variable: string1 ◀ loaded from rougail-test (⏳ My%Val;ue$#!1su:) diff --git a/tests/results/test_read_write_secrets/00_7help.gitlab.md b/tests/results/test_read_write_secrets/00_7help.gitlab.md index 7659b9a1..410e40f5 100644 --- a/tests/results/test_read_write_secrets/00_7help.gitlab.md +++ b/tests/results/test_read_write_secrets/00_7help.gitlab.md @@ -6,3 +6,4 @@ Variables: - :notebook: the first variable: [- string1 -] ← loaded from rougail-test - :notebook: the second variable: [- string1 -] ← loaded from rougail-test +- :notebook: the third variable with spaces: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_read_write_secrets/00_7help.md b/tests/results/test_read_write_secrets/00_7help.md index 2c89fd30..c9e8549d 100644 --- a/tests/results/test_read_write_secrets/00_7help.md +++ b/tests/results/test_read_write_secrets/00_7help.md @@ -7,3 +7,4 @@ Variables: - :notebook: the first variable: string1 ← loaded from rougail-test - :notebook: the second variable: string1 ← loaded from rougail-test +- :notebook: the third variable with spaces: string1 ← loaded from rougail-test diff --git a/tests/results/test_read_write_secrets/00_7help.sh b/tests/results/test_read_write_secrets/00_7help.sh index 5119d901..a6ecd922 100644 --- a/tests/results/test_read_write_secrets/00_7help.sh +++ b/tests/results/test_read_write_secrets/00_7help.sh @@ -3,4 +3,5 @@ ╰─────────────────────────╯ Variables: ┣━━ 📓 the first variable: string1 ◀ loaded from rougail-test -┗━━ 📓 the second variable: string1 ◀ loaded from rougail-test +┣━━ 📓 the second variable: string1 ◀ loaded from rougail-test +┗━━ 📓 the third variable with spaces: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_read_write_secrets/20_7help_family.gitlab.md b/tests/results/test_read_write_secrets/20_7help_family.gitlab.md index cbf4068a..ef0a07bd 100644 --- a/tests/results/test_read_write_secrets/20_7help_family.gitlab.md +++ b/tests/results/test_read_write_secrets/20_7help_family.gitlab.md @@ -8,3 +8,5 @@ Variables: - :notebook: var: [- string1 -] ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: [- string1 -] ← loaded from rougail-test +- :open_file_folder: the third family with space + - :notebook: A variable: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_read_write_secrets/20_7help_family.md b/tests/results/test_read_write_secrets/20_7help_family.md index 41f2acc7..f7a88502 100644 --- a/tests/results/test_read_write_secrets/20_7help_family.md +++ b/tests/results/test_read_write_secrets/20_7help_family.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: string1 ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: string1 ← loaded from rougail-test +- :open_file_folder: the third family with space + - :notebook: A variable: string1 ← loaded from rougail-test diff --git a/tests/results/test_read_write_secrets/20_7help_family.sh b/tests/results/test_read_write_secrets/20_7help_family.sh index c9bbc685..5a3c1203 100644 --- a/tests/results/test_read_write_secrets/20_7help_family.sh +++ b/tests/results/test_read_write_secrets/20_7help_family.sh @@ -4,5 +4,7 @@ Variables: ┣━━ 📂 the first family ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test -┗━━ 📂 the second family - ┗━━ 📓 var: string1 ◀ loaded from rougail-test +┣━━ 📂 the second family +┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test +┗━━ 📂 the third family with space + ┗━━ 📓 A variable: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.gitlab.md b/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..06c538ec --- /dev/null +++ b/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,7 @@ +> [!note] Caption: +> +> - Variable +> - [+ Default value +] + +Variables: +- :notebook: a first variable: [+ My%Val;ue$#!1su: +] diff --git a/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.md b/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.md new file mode 100644 index 00000000..25837799 --- /dev/null +++ b/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.md @@ -0,0 +1,8 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Default value + +Variables: +- :notebook: a first variable: My%Val;ue$#!1su: diff --git a/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.sh b/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.sh new file mode 100644 index 00000000..1a84bcb5 --- /dev/null +++ b/tests/results/test_read_write_secrets_errors/00_2default_with_exclamation.sh @@ -0,0 +1,5 @@ +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┗━━ 📓 a first variable: My%Val;ue$#!1su: diff --git a/tests/results/test_read_write_secrets_errors/00_7help.gitlab.md b/tests/results/test_read_write_secrets_errors/00_7help.gitlab.md index a0de9d86..30a2b00e 100644 --- a/tests/results/test_read_write_secrets_errors/00_7help.gitlab.md +++ b/tests/results/test_read_write_secrets_errors/00_7help.gitlab.md @@ -6,3 +6,4 @@ Variables: - :notebook: the first variable: [+ null +] - :notebook: the second variable: [+ null +] +- :notebook: the third variable with spaces: [+ null +] diff --git a/tests/results/test_read_write_secrets_errors/00_7help.md b/tests/results/test_read_write_secrets_errors/00_7help.md index d504d07a..4e6bdd54 100644 --- a/tests/results/test_read_write_secrets_errors/00_7help.md +++ b/tests/results/test_read_write_secrets_errors/00_7help.md @@ -7,3 +7,4 @@ Variables: - :notebook: the first variable: null - :notebook: the second variable: null +- :notebook: the third variable with spaces: null diff --git a/tests/results/test_read_write_secrets_errors/00_7help.sh b/tests/results/test_read_write_secrets_errors/00_7help.sh index bc5e9ab7..3fa82b72 100644 --- a/tests/results/test_read_write_secrets_errors/00_7help.sh +++ b/tests/results/test_read_write_secrets_errors/00_7help.sh @@ -3,4 +3,5 @@ ╰────────────────────────╯ Variables: ┣━━ 📓 the first variable: null -┗━━ 📓 the second variable: null +┣━━ 📓 the second variable: null +┗━━ 📓 the third variable with spaces: null diff --git a/tests/results/test_read_write_secrets_errors/20_7help_family.gitlab.md b/tests/results/test_read_write_secrets_errors/20_7help_family.gitlab.md index e2c6bdb2..9f887e89 100644 --- a/tests/results/test_read_write_secrets_errors/20_7help_family.gitlab.md +++ b/tests/results/test_read_write_secrets_errors/20_7help_family.gitlab.md @@ -8,3 +8,5 @@ Variables: - :notebook: var: [+ null +] - :open_file_folder: the second family - :notebook: var: [+ null +] +- :open_file_folder: the third family with space + - :notebook: A variable: [+ null +] diff --git a/tests/results/test_read_write_secrets_errors/20_7help_family.md b/tests/results/test_read_write_secrets_errors/20_7help_family.md index b44c2931..d5a8e819 100644 --- a/tests/results/test_read_write_secrets_errors/20_7help_family.md +++ b/tests/results/test_read_write_secrets_errors/20_7help_family.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: null - :open_file_folder: the second family - :notebook: var: null +- :open_file_folder: the third family with space + - :notebook: A variable: null diff --git a/tests/results/test_read_write_secrets_errors/20_7help_family.sh b/tests/results/test_read_write_secrets_errors/20_7help_family.sh index 1febf9b7..cfce84ee 100644 --- a/tests/results/test_read_write_secrets_errors/20_7help_family.sh +++ b/tests/results/test_read_write_secrets_errors/20_7help_family.sh @@ -4,5 +4,7 @@ Variables: ┣━━ 📂 the first family ┃ ┗━━ 📓 var: null -┗━━ 📂 the second family - ┗━━ 📓 var: null +┣━━ 📂 the second family +┃ ┗━━ 📓 var: null +┗━━ 📂 the third family with space + ┗━━ 📓 A variable: null diff --git a/tests/results/test_secrets/00_2default_with_exclamation.gitlab.md b/tests/results/test_secrets/00_2default_with_exclamation.gitlab.md new file mode 100644 index 00000000..233924a3 --- /dev/null +++ b/tests/results/test_secrets/00_2default_with_exclamation.gitlab.md @@ -0,0 +1,8 @@ +> [!note] Caption: +> +> - Variable +> - [- Modified value -] +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :notebook: a first variable: [- string1 -] ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_secrets/00_2default_with_exclamation.md b/tests/results/test_secrets/00_2default_with_exclamation.md new file mode 100644 index 00000000..39337906 --- /dev/null +++ b/tests/results/test_secrets/00_2default_with_exclamation.md @@ -0,0 +1,9 @@ +> [!NOTE] +> +> **Caption:** +> - Variable +> - Modified value +> - (:hourglass_flowing_sand: Original default value) + +Variables: +- :notebook: a first variable: string1 ← loaded from rougail-test (:hourglass_flowing_sand: My%Val;ue$#!1su:) diff --git a/tests/results/test_secrets/00_2default_with_exclamation.sh b/tests/results/test_secrets/00_2default_with_exclamation.sh new file mode 100644 index 00000000..4b61e337 --- /dev/null +++ b/tests/results/test_secrets/00_2default_with_exclamation.sh @@ -0,0 +1,6 @@ +╭────────────── Caption ───────────────╮ +│ Variable Modified value │ +│ (⏳ Original default value) │ +╰──────────────────────────────────────╯ +Variables: +┗━━ 📓 a first variable: string1 ◀ loaded from rougail-test (⏳ My%Val;ue$#!1su:) diff --git a/tests/results/test_secrets/00_7help.gitlab.md b/tests/results/test_secrets/00_7help.gitlab.md index 7659b9a1..410e40f5 100644 --- a/tests/results/test_secrets/00_7help.gitlab.md +++ b/tests/results/test_secrets/00_7help.gitlab.md @@ -6,3 +6,4 @@ Variables: - :notebook: the first variable: [- string1 -] ← loaded from rougail-test - :notebook: the second variable: [- string1 -] ← loaded from rougail-test +- :notebook: the third variable with spaces: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_secrets/00_7help.md b/tests/results/test_secrets/00_7help.md index 2c89fd30..c9e8549d 100644 --- a/tests/results/test_secrets/00_7help.md +++ b/tests/results/test_secrets/00_7help.md @@ -7,3 +7,4 @@ Variables: - :notebook: the first variable: string1 ← loaded from rougail-test - :notebook: the second variable: string1 ← loaded from rougail-test +- :notebook: the third variable with spaces: string1 ← loaded from rougail-test diff --git a/tests/results/test_secrets/00_7help.sh b/tests/results/test_secrets/00_7help.sh index 5119d901..a6ecd922 100644 --- a/tests/results/test_secrets/00_7help.sh +++ b/tests/results/test_secrets/00_7help.sh @@ -3,4 +3,5 @@ ╰─────────────────────────╯ Variables: ┣━━ 📓 the first variable: string1 ◀ loaded from rougail-test -┗━━ 📓 the second variable: string1 ◀ loaded from rougail-test +┣━━ 📓 the second variable: string1 ◀ loaded from rougail-test +┗━━ 📓 the third variable with spaces: string1 ◀ loaded from rougail-test diff --git a/tests/results/test_secrets/20_7help_family.gitlab.md b/tests/results/test_secrets/20_7help_family.gitlab.md index cbf4068a..ef0a07bd 100644 --- a/tests/results/test_secrets/20_7help_family.gitlab.md +++ b/tests/results/test_secrets/20_7help_family.gitlab.md @@ -8,3 +8,5 @@ Variables: - :notebook: var: [- string1 -] ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: [- string1 -] ← loaded from rougail-test +- :open_file_folder: the third family with space + - :notebook: A variable: [- string1 -] ← loaded from rougail-test diff --git a/tests/results/test_secrets/20_7help_family.md b/tests/results/test_secrets/20_7help_family.md index 41f2acc7..f7a88502 100644 --- a/tests/results/test_secrets/20_7help_family.md +++ b/tests/results/test_secrets/20_7help_family.md @@ -9,3 +9,5 @@ Variables: - :notebook: var: string1 ← loaded from rougail-test - :open_file_folder: the second family - :notebook: var: string1 ← loaded from rougail-test +- :open_file_folder: the third family with space + - :notebook: A variable: string1 ← loaded from rougail-test diff --git a/tests/results/test_secrets/20_7help_family.sh b/tests/results/test_secrets/20_7help_family.sh index c9bbc685..5a3c1203 100644 --- a/tests/results/test_secrets/20_7help_family.sh +++ b/tests/results/test_secrets/20_7help_family.sh @@ -4,5 +4,7 @@ Variables: ┣━━ 📂 the first family ┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test -┗━━ 📂 the second family - ┗━━ 📓 var: string1 ◀ loaded from rougail-test +┣━━ 📂 the second family +┃ ┗━━ 📓 var: string1 ◀ loaded from rougail-test +┗━━ 📂 the third family with space + ┗━━ 📓 A variable: string1 ◀ loaded from rougail-test diff --git a/tests/test_layers.py b/tests/test_layers.py index 90c1194c..15674bae 100644 --- a/tests/test_layers.py +++ b/tests/test_layers.py @@ -4,6 +4,7 @@ from tiramisu import MetaConfig from rougail.output_display import RougailOutputDisplay as RougailOutput from rougail_tests.utils import get_rougail_config +from rougail.user_data import UserData EXT = {'console': 'sh', 'github': 'md', 'gitlab': 'gitlab.md'} @@ -159,3 +160,53 @@ def test_layers_values_metaconfig_mix(): with output_file.open() as outfh: attented_output = outfh.read() assert generated_output == attented_output, f'filename {output_file}' + + +def test_layers_dyn_values_metaconfig_mix(): + layer_datas = ['name1', 'name2', 'name3', 'name4'] + rougailconfig = get_rougail_config(Path("tests/layers_dyn/"), namespace=False) + rougailconfig = get_rougail_config(Path("tests/layers_dyn/"), namespace=False) + rougailconfig['step.output'] = 'display' + rougailconfig["display.console.max_width"] = 200 + rougail = Rougail(rougailconfig) + config = rougail.run(name="source3") + metaconfig1 = MetaConfig([config], name="source2") + metaconfig2 = MetaConfig([metaconfig1], name="source1") + metaconfig2.information.set("description_type", "description") + metaconfig1.owner.set(metaconfig1.path()) + metaconfig2.owner.set(metaconfig2.path()) + user_data = { + "source": metaconfig2.name(), + "values": {"dynmetaconfig2.a_variable": "a modified value"}, + } + UserData(metaconfig2).user_data( + [user_data], + ) + user_data = { + "source": metaconfig1.name(), + "values": {"dynmetaconfig1.a_variable": "a modified value"}, + } + UserData(metaconfig1).user_data( + [user_data], + ) + user_data = { + "source": config.name(), + "values": {"dynconfig.a_variable": "a modified value"}, + } + UserData(config).user_data( + [user_data], + ) + metaconfig2.property.read_only() + for output_format, ext in EXT.items(): + rougailconfig['display.output_format'] = output_format + no_pb, generated_output = RougailOutput(config, rougailconfig=rougailconfig, layer_datas=layer_datas, root_config=metaconfig2, config_owner_is_path=True).run() + assert no_pb == True + output_file = Path(__file__).parent / 'layers-dyn-values-metaconfig-mix-results' / f'display.{ext}' + if not output_file.is_file(): + if not output_file.parent.is_dir(): + output_file.parent.mkdir() + with output_file.open('w') as outfh: + outfh.write(generated_output) + with output_file.open() as outfh: + attented_output = outfh.read() + assert generated_output == attented_output, f'filename {output_file}'