fix: update tests

This commit is contained in:
egarette@silique.fr 2026-01-20 12:37:36 +01:00
parent e72d8b1891
commit ce43e5273f
37 changed files with 112 additions and 9 deletions

View file

@ -1,6 +1,6 @@
"""
Silique (https://www.silique.fr)
Copyright (C) 2024-2025
Copyright (C) 2024-2026
distribued with GPL-2 or later license

View file

@ -2,7 +2,7 @@
Config file for Rougail-user-data-environment
Silique (https://www.silique.fr)
Copyright (C) 2024-2025
Copyright (C) 2024-2026
distribued with GPL-2 or later license

View file

@ -1,6 +1,6 @@
"""
Silique (https://www.silique.fr)
Copyright (C) 2024-2025
Copyright (C) 2024-2026
distribued with GPL-2 or later license

View file

@ -1,6 +1,6 @@
"""Internationalisation utilities
Silique (https://www.silique.fr)
Copyright (C) 2025
Copyright (C) 2025-2026
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"variable or family \"unknown\" does not exist, it will be ignored when loading from environment variable"
"variable or family \"unknown\" does not exist so cannot load \"unknown\", it will be ignored when loading from environment variable"
]
}

View file

@ -3,7 +3,7 @@
"warnings": [
[
[
"is a family so we cannot set the value \"test\", it will be ignored when loading from environment variable",
"it's a family so we cannot set the value \"test\", it will be ignored when loading from environment variable",
"family",
null
]

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"variable or family \"dyn_unknown\" does not exist, it will be ignored when loading from environment variable"
"variable or family \"dyn_unknown\" does not exist so cannot load \"dyn_unknown.variable\", it will be ignored when loading from environment variable"
]
}

View file

@ -1,6 +1,12 @@
{
"errors": [],
"warnings": [
"variable or family \"leadership.unknwon\" does not exist, it will be ignored when loading from environment variable"
[
[
"variable or family \"unknwon\" does not exist so cannot load \"leadership.unknwon\", it will be ignored when loading from environment variable",
"leadership",
null
]
]
]
}

View file

@ -3,7 +3,7 @@
"warnings": [
[
[
"index \"1\" is greater than the leadership length \"1\" for option \"follower\" in environment variable",
"index \"1\" is greater than the leadership length \"1\" for option \"follower\", it will be ignored when loading from environment variable",
"leadership.follower",
null
]

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL_CONDITION="True"
ROUGAIL_VARIABLE="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_CONDITION="True"
ROUGAIL_VARIABLE="string1"

View file

@ -0,0 +1 @@
ROUGAIL_VARIABLE="string1"

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL_FAMILY1.VAR="string1"
ROUGAIL_FAMILY2oVAR="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_FAMILY1.VAR="string1"
ROUGAIL_FAMILY2oVAR="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL_FAMILY1.VAR="string1"
ROUGAIL_FAMILY2oVAR="string1"

View file

@ -0,0 +1,4 @@
{
"family1.var": "string1",
"family2.var": "string1"
}

View file

@ -0,0 +1,4 @@
{
"family1.var": "string1",
"family2.var": "string1"
}

View file

@ -0,0 +1,19 @@
{
"errors": [],
"warnings": [
[
[
"variable has property disabled, it will be ignored when loading from environment variable",
"rougail.condition",
null
]
],
[
[
"family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from environment variable",
"rougail.variable",
null
]
]
]
}

View file

@ -0,0 +1,12 @@
{
"errors": [],
"warnings": [
[
[
"family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from environment variable",
"rougail.variable",
null
]
]
]
}

View file

@ -0,0 +1,2 @@
ROUGAIL.CONDITION="True"
ROUGAILoVARIABLE="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL.CONDITION="True"
ROUGAILoVARIABLE="string1"

View file

@ -0,0 +1 @@
ROUGAIL.VARIABLE="string1"

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,2 @@
ROUGAIL.FAMILY1.VAR="string1"
ROUGAILoFAMILY2oVAR="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL.FAMILY1.VAR="string1"
ROUGAILoFAMILY2oVAR="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL.FAMILY1.VAR="string1"
ROUGAILoFAMILY2oVAR="string1"

View file

@ -0,0 +1,4 @@
{
"rougail.family1.var": "string1",
"rougail.family2.var": "string1"
}

View file

@ -0,0 +1,4 @@
{
"rougail.family1.var": "string1",
"rougail.family2.var": "string1"
}