From c5cda8fc744472b34805171b5782a1a8022e2dc8 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 7 Oct 2025 21:02:44 +0200 Subject: [PATCH] fix: update tests --- pyproject.toml | 3 --- .../04_5disabled_calculation_boolean.sh | 7 +++++++ .../04_5disabled_calculation_boolean.sh | 8 ++++++++ .../04_5disabled_calculation_boolean.sh | 7 +++++++ .../04_5disabled_calculation_boolean.sh | 4 ++++ .../04_5disabled_calculation_boolean.sh | 8 ++++++++ .../04_5disabled_calculation_boolean.sh | 7 +++++++ .../04_5disabled_calculation_boolean.sh | 8 ++++++++ .../test_read_write/04_5disabled_calculation_boolean.sh | 6 ++++++ .../04_5disabled_calculation_boolean.sh | 7 +++++++ .../04_5disabled_calculation_boolean.sh | 3 +++ .../04_5disabled_calculation_boolean.sh | 6 ++++++ .../test_secrets/04_5disabled_calculation_boolean.sh | 7 +++++++ 13 files changed, 78 insertions(+), 3 deletions(-) create mode 100644 tests/results/test_mandatory_secrets/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_namespace_mandatory_secrets_key/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_namespace_read_write_key/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_namespace_read_write_mandatory_secrets_errors_key/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_namespace_read_write_mandatory_secrets_key/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_namespace_read_write_secrets_key/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_namespace_secrets_key/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_read_write/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_read_write_mandatory_secrets/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_read_write_mandatory_secrets_errors/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_read_write_secrets/04_5disabled_calculation_boolean.sh create mode 100644 tests/results/test_secrets/04_5disabled_calculation_boolean.sh diff --git a/pyproject.toml b/pyproject.toml index d6c15a5..4f56c65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,9 +13,6 @@ license = {file = "LICENSE"} classifiers = [ "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", diff --git a/tests/results/test_mandatory_secrets/04_5disabled_calculation_boolean.sh b/tests/results/test_mandatory_secrets/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..3f00fdf --- /dev/null +++ b/tests/results/test_mandatory_secrets/04_5disabled_calculation_boolean.sh @@ -0,0 +1,7 @@ +╭───────────── Caption ─────────────╮ +│ Variable Modified value │ +│ (Original default value) │ +╰───────────────────────────────────╯ +Variables: +┣━━ 📓 condition: string1 (no - loaded from rougail-test) +┗━━ 📓 variable1: string1 (loaded from rougail-test) diff --git a/tests/results/test_namespace_mandatory_secrets_key/04_5disabled_calculation_boolean.sh b/tests/results/test_namespace_mandatory_secrets_key/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..0be2677 --- /dev/null +++ b/tests/results/test_namespace_mandatory_secrets_key/04_5disabled_calculation_boolean.sh @@ -0,0 +1,8 @@ +╭───────────── Caption ─────────────╮ +│ Variable Modified value │ +│ (Original default value) │ +╰───────────────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┣━━ 📓 a conditional variable: string1 (no - loaded from rougail-test) + ┗━━ 📓 a first variable: string1 (loaded from rougail-test) diff --git a/tests/results/test_namespace_read_write_key/04_5disabled_calculation_boolean.sh b/tests/results/test_namespace_read_write_key/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..0b9c9e0 --- /dev/null +++ b/tests/results/test_namespace_read_write_key/04_5disabled_calculation_boolean.sh @@ -0,0 +1,7 @@ +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┣━━ 📓 a conditional variable: no + ┗━━ 📓 a first variable: diff --git a/tests/results/test_namespace_read_write_mandatory_secrets_errors_key/04_5disabled_calculation_boolean.sh b/tests/results/test_namespace_read_write_mandatory_secrets_errors_key/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..2c419f6 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory_secrets_errors_key/04_5disabled_calculation_boolean.sh @@ -0,0 +1,4 @@ +🛑 ERRORS +┗━━ The following variables are mandatory but have no value: + ┗━━ Rougail +  ┗━━ a first variable diff --git a/tests/results/test_namespace_read_write_mandatory_secrets_key/04_5disabled_calculation_boolean.sh b/tests/results/test_namespace_read_write_mandatory_secrets_key/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..0be2677 --- /dev/null +++ b/tests/results/test_namespace_read_write_mandatory_secrets_key/04_5disabled_calculation_boolean.sh @@ -0,0 +1,8 @@ +╭───────────── Caption ─────────────╮ +│ Variable Modified value │ +│ (Original default value) │ +╰───────────────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┣━━ 📓 a conditional variable: string1 (no - loaded from rougail-test) + ┗━━ 📓 a first variable: string1 (loaded from rougail-test) diff --git a/tests/results/test_namespace_read_write_secrets_key/04_5disabled_calculation_boolean.sh b/tests/results/test_namespace_read_write_secrets_key/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..0b9c9e0 --- /dev/null +++ b/tests/results/test_namespace_read_write_secrets_key/04_5disabled_calculation_boolean.sh @@ -0,0 +1,7 @@ +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┣━━ 📓 a conditional variable: no + ┗━━ 📓 a first variable: diff --git a/tests/results/test_namespace_secrets_key/04_5disabled_calculation_boolean.sh b/tests/results/test_namespace_secrets_key/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..0be2677 --- /dev/null +++ b/tests/results/test_namespace_secrets_key/04_5disabled_calculation_boolean.sh @@ -0,0 +1,8 @@ +╭───────────── Caption ─────────────╮ +│ Variable Modified value │ +│ (Original default value) │ +╰───────────────────────────────────╯ +Variables: +┗━━ 📂 Rougail + ┣━━ 📓 a conditional variable: string1 (no - loaded from rougail-test) + ┗━━ 📓 a first variable: string1 (loaded from rougail-test) diff --git a/tests/results/test_read_write/04_5disabled_calculation_boolean.sh b/tests/results/test_read_write/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..d7a852b --- /dev/null +++ b/tests/results/test_read_write/04_5disabled_calculation_boolean.sh @@ -0,0 +1,6 @@ +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┣━━ 📓 condition: no +┗━━ 📓 variable1: diff --git a/tests/results/test_read_write_mandatory_secrets/04_5disabled_calculation_boolean.sh b/tests/results/test_read_write_mandatory_secrets/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..3f00fdf --- /dev/null +++ b/tests/results/test_read_write_mandatory_secrets/04_5disabled_calculation_boolean.sh @@ -0,0 +1,7 @@ +╭───────────── Caption ─────────────╮ +│ Variable Modified value │ +│ (Original default value) │ +╰───────────────────────────────────╯ +Variables: +┣━━ 📓 condition: string1 (no - loaded from rougail-test) +┗━━ 📓 variable1: string1 (loaded from rougail-test) diff --git a/tests/results/test_read_write_mandatory_secrets_errors/04_5disabled_calculation_boolean.sh b/tests/results/test_read_write_mandatory_secrets_errors/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..703737a --- /dev/null +++ b/tests/results/test_read_write_mandatory_secrets_errors/04_5disabled_calculation_boolean.sh @@ -0,0 +1,3 @@ +🛑 ERRORS +┗━━ The following variables are mandatory but have no value: + ┗━━ a first variable diff --git a/tests/results/test_read_write_secrets/04_5disabled_calculation_boolean.sh b/tests/results/test_read_write_secrets/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..d7a852b --- /dev/null +++ b/tests/results/test_read_write_secrets/04_5disabled_calculation_boolean.sh @@ -0,0 +1,6 @@ +╭─────── Caption ────────╮ +│ Variable Default value │ +╰────────────────────────╯ +Variables: +┣━━ 📓 condition: no +┗━━ 📓 variable1: diff --git a/tests/results/test_secrets/04_5disabled_calculation_boolean.sh b/tests/results/test_secrets/04_5disabled_calculation_boolean.sh new file mode 100644 index 0000000..3f00fdf --- /dev/null +++ b/tests/results/test_secrets/04_5disabled_calculation_boolean.sh @@ -0,0 +1,7 @@ +╭───────────── Caption ─────────────╮ +│ Variable Modified value │ +│ (Original default value) │ +╰───────────────────────────────────╯ +Variables: +┣━━ 📓 condition: string1 (no - loaded from rougail-test) +┗━━ 📓 variable1: string1 (loaded from rougail-test)