fix: tests

This commit is contained in:
egarette@silique.fr 2025-10-05 21:26:55 +02:00
parent 15f1741064
commit 0729d2a987
63 changed files with 272 additions and 29 deletions

View file

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"POT-Creation-Date: 2025-04-01 19:50+0200\n" "POT-Creation-Date: 2025-10-05 21:25+0200\n"
"PO-Revision-Date: 2025-04-01 19:50+0200\n" "PO-Revision-Date: 2025-10-05 21:26+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: fr\n" "Language: fr\n"
@ -14,9 +14,9 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n" "Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.5\n" "X-Generator: Poedit 3.7\n"
#: src/rougail/output_json/__init__.py:46 #: src/rougail/output_json/__init__.py:48
msgid "the \"step.output\" is not set to \"{0}\"" msgid "the \"step.output\" is not set to \"{0}\""
msgstr "\"step.output\" n'est pas mis à \"{0}\"" msgstr "\"step.output\" n'est pas mis à \"{0}\""
@ -24,11 +24,11 @@ msgstr "\"step.output\" n'est pas mis à \"{0}\""
msgid "Error in config: {0}" msgid "Error in config: {0}"
msgstr "Erreur dans la configuration : {0}" msgstr "Erreur dans la configuration : {0}"
#: src/rougail/output_json/__init__.py:116 #: src/rougail/output_json/__init__.py:115
msgid "The following variables are mandatory but have no value:" msgid "The following variables are mandatory but have no value:"
msgstr "Les variables suivantes sont obligatoire mais n'ont pas de valeur :" msgstr "Les variables suivantes sont obligatoire mais n'ont pas de valeur :"
#: src/rougail/output_json/__init__.py:127 #: src/rougail/output_json/__init__.py:125
msgid "The following variables are inaccessible but are empty and mandatory :" msgid "The following variables are inaccessible but are empty and mandatory :"
msgstr "Les variables suivantes sont inaccessibles mais sont vides et obligatoires :" msgstr "Les variables suivantes sont inaccessibles mais sont vides et obligatoires :"
@ -36,26 +36,23 @@ msgstr "Les variables suivantes sont inaccessibles mais sont vides et obligatoir
msgid "configuration rougail-json" msgid "configuration rougail-json"
msgstr "configuration de rougail-json" msgstr "configuration de rougail-json"
#: src/rougail/output_json/config.py:38 #: src/rougail/output_json/config.py:37
msgid "display variables available in read_write mode"
msgstr "affiche les variables valables en mode lecture écriture"
#: src/rougail/output_json/config.py:39
msgid "display variables available in read_only mode"
msgstr "affiche les variables valables en mode lecture seul"
#: src/rougail/output_json/config.py:43
msgid "test mandatories variables before display in json" msgid "test mandatories variables before display in json"
msgstr "tester les variables obligatoires avant de l'afficher en json" msgstr "tester les variables obligatoires avant de l'afficher en json"
#: src/rougail/output_json/config.py:44
msgid "do not test mandatories variables before display in json"
msgstr "ne pas tester les variables obligatoires avant de l'afficher en json"
#: src/rougail/output_json/config.py:48 #: src/rougail/output_json/config.py:48
msgid "get value for a variable or a family" msgid "get value for a variable or a family"
msgstr "récupère la valeur pour une variable ou une famille" msgstr "récupère la valeur pour une variable ou une famille"
#~ msgid "display variables available in read_write mode"
#~ msgstr "affiche les variables valables en mode lecture écriture"
#~ msgid "display variables available in read_only mode"
#~ msgstr "affiche les variables valables en mode lecture seul"
#~ msgid "do not test mandatories variables before display in json"
#~ msgstr "ne pas tester les variables obligatoires avant de l'afficher en json"
#~ msgid "Undocumented variable" #~ msgid "Undocumented variable"
#~ msgstr "Variable non documentée" #~ msgstr "Variable non documentée"

View file

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-05-12 08:39+0200\n" "POT-Creation-Date: 2025-10-05 21:26+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -19,15 +19,15 @@ msgstr ""
msgid "the \"step.output\" is not set to \"{0}\"" msgid "the \"step.output\" is not set to \"{0}\""
msgstr "" msgstr ""
#: src/rougail/output_json/__init__.py:108 #: src/rougail/output_json/__init__.py:105
msgid "Error in config: {0}" msgid "Error in config: {0}"
msgstr "" msgstr ""
#: src/rougail/output_json/__init__.py:119 #: src/rougail/output_json/__init__.py:115
msgid "The following variables are mandatory but have no value:" msgid "The following variables are mandatory but have no value:"
msgstr "" msgstr ""
#: src/rougail/output_json/__init__.py:130 #: src/rougail/output_json/__init__.py:125
msgid "The following variables are inaccessible but are empty and mandatory :" msgid "The following variables are inaccessible but are empty and mandatory :"
msgstr "" msgstr ""
@ -35,15 +35,11 @@ msgstr ""
msgid "configuration rougail-json" msgid "configuration rougail-json"
msgstr "" msgstr ""
#: src/rougail/output_json/config.py:38 #: src/rougail/output_json/config.py:37
msgid "display variables available in read_write mode"
msgstr ""
#: src/rougail/output_json/config.py:42
msgid "test mandatories variables before display in json" msgid "test mandatories variables before display in json"
msgstr "" msgstr ""
#: src/rougail/output_json/config.py:46 #: src/rougail/output_json/config.py:48
msgid "get value for a variable or a family" msgid "get value for a variable or a family"
msgstr "" msgstr ""

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,4 @@
{
"condition": false,
"variable": "string1"
}

View file

@ -0,0 +1,3 @@
{
"variable": "string1"
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,3 @@
{
"variable": "string1"
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,4 @@
{
"condition": false,
"variable": "string1"
}

View file

@ -0,0 +1,3 @@
{
"variable": "string1"
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,3 @@
{
"variable": "string1"
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,6 @@
{
"rougail": {
"condition": false,
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,6 @@
{
"rougail": {
"condition": false,
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": null
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": null
}
}

View file

@ -0,0 +1,6 @@
{
"rougail": {
"condition": false,
"variable": null
}
}

View file

@ -0,0 +1,3 @@
{
"rougail": {}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": null
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,3 @@
{
"rougail": {}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"variable": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"rougail": {
"condition": true
}
}

View file

@ -0,0 +1,6 @@
{
"_errors": [
"The following variables are mandatory but have no value:",
" - rougail.variable (a variable)"
]
}

View file

@ -0,0 +1,6 @@
{
"_errors": [
"The following variables are mandatory but have no value:",
" - rougail.variable (a variable)"
]
}

View file

@ -0,0 +1,6 @@
{
"_errors": [
"The following variables are mandatory but have no value:",
" - rougail.variable (a variable)"
]
}

View file

@ -0,0 +1,6 @@
{
"_errors": [
"The following variables are mandatory but have no value:",
" - rougail.variable (a variable)"
]
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,3 @@
{
"variable": null
}

View file

@ -0,0 +1,3 @@
{
"variable": null
}

View file

@ -0,0 +1,4 @@
{
"condition": false,
"variable": null
}

View file

@ -0,0 +1,3 @@
{
"variable": null
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,3 @@
{
"variable": "string1"
}

View file

@ -0,0 +1,3 @@
{
"variable": "string1"
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,3 @@
{
"variable": "string1"
}

View file

@ -0,0 +1,3 @@
{
"condition": true
}

View file

@ -0,0 +1,6 @@
{
"_errors": [
"The following variables are mandatory but have no value:",
" - variable (a variable)"
]
}

View file

@ -0,0 +1,6 @@
{
"_errors": [
"The following variables are mandatory but have no value:",
" - variable (a variable)"
]
}

View file

@ -0,0 +1,6 @@
{
"_errors": [
"The following variables are mandatory but have no value:",
" - variable (a variable)"
]
}

View file

@ -0,0 +1,6 @@
{
"_errors": [
"The following variables are mandatory but have no value:",
" - variable (a variable)"
]
}