Compare commits

..

No commits in common. "8e8989c85860d6af4bdab61418043ca78bf9f826" and "d2c79690e43132a71e9a6cb6e6ba6748ae5bbf79" have entirely different histories.

71 changed files with 133 additions and 258 deletions

View file

@ -1,9 +1,3 @@
## 0.2.0a5 (2025-04-09)
### Fix
- better error message
## 0.2.0a4 (2025-04-01)
### Fix

View file

@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2025-04-09 08:34+0200\n"
"PO-Revision-Date: 2025-04-09 08:35+0200\n"
"POT-Creation-Date: 2025-02-10 09:21+0100\n"
"PO-Revision-Date: 2025-02-10 09:22+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
@ -27,8 +27,8 @@ msgstr ""
"\"{1}\""
#: src/rougail/user_data_yaml/__init__.py:85
msgid "the YAML file \"{0}\""
msgstr "le fichier YAML \"{0}\""
msgid "yaml ({0})"
msgstr "fichier yaml ({0})"
#: src/rougail/user_data_yaml/__init__.py:116
msgid "\"{0}\" in {1} has an unknown value"

View file

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-04-09 08:48+0200\n"
"POT-Creation-Date: 2025-02-10 09:22+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -24,7 +24,7 @@ msgid "cannot load \"{0}\", the root value is not a dict but \"{1}\""
msgstr ""
#: src/rougail/user_data_yaml/__init__.py:85
msgid "the YAML file \"{0}\""
msgid "yaml ({0})"
msgstr ""
#: src/rougail/user_data_yaml/__init__.py:116

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail.user_data_yaml"
version = "0.2.0a5"
version = "0.2.0a4"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "Rougail user_data yaml"

View file

@ -82,7 +82,7 @@ class RougailUserDataYaml:
allow_secrets_variables = True
user_datas.append(
{
"source": _('the YAML file "{0}"').format(filename),
"source": _("yaml ({0})").format(filename),
"errors": self.errors,
"warnings": self.warnings,
"values": values,

View file

@ -1,5 +0,0 @@
{
"dynVal1": {
"var": "string1"
}
}

View file

@ -1,10 +0,0 @@
---
version: '1.1'
var: [] # A suffix variable
"dyn{{ identifier }}":
description: A dynamic family
dynamic:
variable: _.var
var: # A dynamic variable

View file

@ -1,5 +0,0 @@
{
"dynVal1": {
"var": "string1"
}
}

View file

@ -1,12 +0,0 @@
---
version: '1.1'
var: #A suffix variable
mandatory: false
default: []
"dyn{{ identifier }}":
description: A dynamic family
dynamic:
variable: _.var
var: # A dynamic variable

View file

@ -1,6 +1,6 @@
{
"rougail": {
"secret1": "onE7vaLues_len1",
"secret2": "onE7vaLues_len1"
"secret1": "string1",
"secret2": "string1"
}
}

View file

@ -1,6 +1,6 @@
{
"rougail": {
"secret1": "onE7vaLues_len1",
"secret2": "onE7vaLues_len1"
"secret1": "string1",
"secret2": "string1"
}
}

View file

@ -1,5 +1,5 @@
{
"rougail": {
"secret1": "onE7vaLues_len1"
"secret1": "string1"
}
}

View file

@ -1,4 +1,4 @@
{
"rougail.secret1": "onE7vaLues_len1",
"rougail.secret2": "onE7vaLues_len1"
"rougail.secret1": "string1",
"rougail.secret2": "string1"
}

View file

@ -1,4 +1,4 @@
{
"rougail.secret1": "onE7vaLues_len1",
"rougail.secret1": "string1",
"rougail.secret2": "value"
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.var\" (autosave variable) because has property \"hidden\" loaded from the YAML file \"tests/results/04_1auto_save_and_hidden/file/all.yml\""
"cannot access to option \"rougail.var\" (autosave variable) because has property \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\" loaded from the YAML file \"tests/results/04_1default_calculation_hidden/file/mandatories.yml\""
"cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\" loaded from the YAML file \"tests/results/04_1default_calculation_hidden_2/file/mandatories.yml\""
"cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (unknown is undefined) loaded from the YAML file \"tests/results/04_5disabled_calculation_optional/file/all.yml\""
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (unknown is undefined)"
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from the YAML file \"tests/results/04_5disabled_calculation_variable/file/all.yml\""
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from the YAML file \"tests/results/04_5disabled_calculation_variable2/file/all.yml\""
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from the YAML file \"tests/results/04_5disabled_calculation_variable2/file/mandatories.yml\""
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from the YAML file \"tests/results/04_5disabled_calculation_variable3/file/mandatories.yml\""
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from the YAML file \"tests/results/04_5disabled_calculation_variable4/file/all.yml\""
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\" loaded from the YAML file \"tests/results/04_5disabled_calculation_variable_multi/file/all.yml\""
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
]
}

View file

@ -1,7 +1,7 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (condition is yes) loaded from the YAML file \"tests/results/04_5hidden_calculation2/file/all.yml\"",
"cannot access to option \"rougail.var2\" (a second variable) because has property \"hidden\" (condition is yes) loaded from the YAML file \"tests/results/04_5hidden_calculation2/file/all.yml\""
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (condition is yes)",
"cannot access to option \"rougail.var2\" (a second variable) because has property \"hidden\" (condition is yes)"
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true) loaded from the YAML file \"tests/results/16_2family_redefine_calculation/file/all.yml\""
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true)"
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true) loaded from the YAML file \"tests/results/16_2family_redefine_calculation/file/mandatories.yml\""
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true)"
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from the YAML file \"tests/results/16_2family_redefine_disabled/file/all.yml\""
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from the YAML file \"tests/results/16_2family_redefine_disabled/file/mandatories.yml\""
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" loaded from the YAML file \"tests/results/16_5exists_redefine/file/all.yml\""
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"hidden\" loaded from the YAML file \"tests/results/16_5redefine_hidden/file/all.yml\""
"cannot access to option \"rougail.variable\" (a variable) because has property \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\" loaded from the YAML file \"tests/results/17_5redefine_leadership/file/all.yml\""
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\""
]
}

View file

@ -1,11 +1,11 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\" loaded from the YAML file \"tests/results/20_0family_underscore/file/all.yml\""
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" (possibly hidden family) because has property \"hidden\" loaded from the YAML file \"tests/results/24_0family_hidden_condition_variable_sub_family/file/all.yml\""
"cannot access to optiondescription \"rougail.family\" (possibly hidden family) because has property \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.family.variable\" (a variable) because has property \"hidden\" (condition2 is true) loaded from the YAML file \"tests/results/24_0family_hidden_condition_with_variable/file/all.yml\""
"cannot access to option \"rougail.family.variable\" (a variable) because has property \"hidden\" (condition2 is true)"
]
}

View file

@ -1,7 +1,7 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from the YAML file \"tests/results/24_family_disabled_var_hidden/file/all.yml\"",
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from the YAML file \"tests/results/24_family_disabled_var_hidden/file/all.yml\""
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\"",
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" loaded from the YAML file \"tests/results/24_family_disabled_var_hidden/file/mandatories.yml\""
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\""
]
}

View file

@ -1 +1,9 @@
{
"rougail": {
"leader": [
{},
{},
{}
]
}
}

View file

@ -1 +1,9 @@
{
"rougail": {
"leader": [
{},
{},
{}
]
}
}

View file

@ -1 +1,8 @@
{
"rougail": {
"leader": [
{},
{}
]
}
}

View file

@ -1 +1,8 @@
{
"rougail": {
"leader": [
{},
{}
]
}
}

View file

@ -1 +1,8 @@
{
"rougail": {
"leader": [
{},
{}
]
}
}

View file

@ -1 +1,8 @@
{
"rougail": {
"leader": [
{},
{}
]
}
}

View file

@ -1 +1,8 @@
{
"rougail": {
"leader": [
{},
{}
]
}
}

View file

@ -1 +1,8 @@
{
"rougail": {
"leader": [
{},
{}
]
}
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\" loaded from the YAML file \"tests/results/44_0leadership_hidden/file/all.yml\""
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\" loaded from the YAML file \"tests/results/44_0leadership_leader_hidden/file/all.yml\""
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\" loaded from the YAML file \"tests/results/44_1leadership_append_hidden_follower/file/all.yml\""
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.leader.follower\" (a follower) because has property \"disabled\" (disabled) loaded from the YAML file \"tests/results/44_6leadership_follower_disabled_calculation/file/mandatories.yml\""
"cannot access to option \"rougail.leader.follower\" (a follower) because has property \"disabled\" (disabled)"
]
}

View file

@ -1 +1,8 @@
{
"rougail": {
"leader": [
{},
{}
]
}
}

View file

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

View file

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

View file

@ -1,14 +0,0 @@
{
"rougail": {
"var": [
"Val1",
"VAL2"
],
"dynval1": {
"var": "string1"
},
"dynval2": {
"var": "string1"
}
}
}

View file

@ -1,10 +0,0 @@
{
"rougail": {
"dynval1": {
"var": "string1"
},
"dynval2": {
"var": "string1"
}
}
}

View file

@ -1,10 +0,0 @@
{
"rougail": {
"dynval1": {
"var": "string1"
},
"dynval2": {
"var": "string1"
}
}
}

View file

@ -1,8 +0,0 @@
{
"rougail.var": [
"Val1",
"VAL2"
],
"rougail.dynval1.var": "string1",
"rougail.dynval2.var": "string1"
}

View file

@ -1,8 +0,0 @@
{
"rougail.var": [
"Val1",
"VAL2"
],
"rougail.dynval1.var": "string1",
"rougail.dynval2.var": "string1"
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" (a family) because has property \"hidden\" loaded from the YAML file \"tests/results/60_0family_hidden/file/all.yml\""
"cannot access to optiondescription \"rougail.family\" (a family) because has property \"hidden\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\" loaded from the YAML file \"tests/results/60_5family_dynamic_calc_suffix_disabled/file/all.yml\""
"cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\""
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\" loaded from the YAML file \"tests/results/60_5family_dynamic_calc_suffix_disabled/file/mandatories.yml\""
"cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\""
]
}

View file

@ -1,7 +0,0 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\" loaded from the YAML file \"tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all.yml\"",
"cannot access to option \"rougail.dynval2.var\" (A dynamic variable) because has property \"disabled\" loaded from the YAML file \"tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all.yml\""
]
}

View file

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

View file

@ -1,15 +0,0 @@
{
"rougail": {
"var1": [
"val1",
"val2"
],
"dynval1": {
"var": "string1"
},
"dynval2": {
"var": "string1"
},
"var2": "string1"
}
}

View file

@ -1,11 +0,0 @@
{
"rougail": {
"dynval1": {
"var": "string1"
},
"dynval2": {
"var": "string1"
},
"var2": "string1"
}
}

View file

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

View file

@ -1,7 +0,0 @@
{
"rougail.var1": [
"val1",
"val2"
],
"rougail.var2": "string1"
}

View file

@ -1,4 +0,0 @@
{
"rougail.var1": [],
"rougail.var2": "string1"
}

View file

@ -1,7 +1,7 @@
{
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled) loaded from the YAML file \"tests/results/60_5family_dynamic_hidden_suffix/file/all.yml\"",
"cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled) loaded from the YAML file \"tests/results/60_5family_dynamic_hidden_suffix/file/all.yml\""
"cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled)",
"cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled)"
]
}

View file

@ -1,7 +1,7 @@
{
"errors": [],
"warnings": [
"cannot access to option \"rougail.val1_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value) loaded from the YAML file \"tests/results/60_5family_dynamic_unknown_suffix/file/all.yml\"",
"cannot access to option \"rougail.val2_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value) loaded from the YAML file \"tests/results/60_5family_dynamic_unknown_suffix/file/all.yml\""
"cannot access to option \"rougail.val1_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value)",
"cannot access to option \"rougail.val2_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value)"
]
}

View file

@ -4,7 +4,7 @@ from pathlib import Path
from rougail import Rougail
#########################
from rougail.user_data_yaml import RougailUserDataYaml as RougailUserData
from json import load, dump, loads, dumps
from json import load, dump
from ruamel.yaml import YAML
#########################
@ -20,7 +20,7 @@ excludes = [
]
test_ok = get_structures_list(excludes)
# test_ok = [Path('../rougail-tests/structures/60_6family_dynamic_sub_dynamic_empty')]
# test_ok = [Path('../rougail-tests/structures/60_9extra_dynamic')]
def idfn(fixture_value):
@ -65,8 +65,6 @@ def _test_dictionaries(test_dir, namespace, ext, *, level, need_exclude=False):
expected = load(json_file)
# here is the effective test
errors_file = Path('tests') / 'results' / test_dir.name / 'errors' / f'{level}.json'
if need_exclude:
errors = loads(dumps(errors).replace('all_exclude.yml', 'all.yml'))
if not errors_file.is_file():
errors_file.parent.mkdir(parents=True, exist_ok=True)
with open(errors_file, 'a') as json_file:
@ -117,42 +115,3 @@ def test_dictionaries_all_exclude(test_dir):
def test_dictionaries_mandatories(test_dir):
"tests the output"
_test_dictionaries(test_dir, True, EXT, level='mandatories')
def test_errors():
rougailconfig = get_rougail_config(Path('tests/errors/60_0family_dynamic_upper_char'), False)
##################################
rougailconfig['step.user_data'] = ['yaml']
rougailconfig['yaml.filename'] = ['tests/errors/60_0family_dynamic_upper_char/file/all_exclude.yml']
##################################
rougail = Rougail(rougailconfig)
config = rougail.run()
generated_user_data = RougailUserData(config, rougailconfig=rougailconfig).run()
errors = rougail.user_datas(generated_user_data)
assert errors == {'errors': [], 'warnings': [
'cannot load variable path "dynVal1.var", the identifier "Val1" is not '
'valid in the YAML file '
'"tests/errors/60_0family_dynamic_upper_char/file/all_exclude.yml"',
'cannot find "dynVal1" loaded from the YAML file '
'"tests/errors/60_0family_dynamic_upper_char/file/all_exclude.yml"',
]}
def test_errors_2():
rougailconfig = get_rougail_config(Path('tests/errors/60_0family_dynamic_upper_char2'), False)
##################################
rougailconfig['step.user_data'] = ['yaml']
rougailconfig['yaml.filename'] = ['tests/errors/60_0family_dynamic_upper_char2/file/all_exclude.yml']
##################################
rougail = Rougail(rougailconfig)
config = rougail.run()
generated_user_data = RougailUserData(config, rougailconfig=rougailconfig).run()
errors = rougail.user_datas(generated_user_data)
assert errors == {'errors': [], 'warnings': [
'cannot load variable path "dynVal1.var", the identifier "Val1" is not '
'valid in the YAML file '
'"tests/errors/60_0family_dynamic_upper_char2/file/all_exclude.yml"',
'cannot find "dynVal1" loaded from the YAML file '
'"tests/errors/60_0family_dynamic_upper_char2/file/all_exclude.yml"',
]}
##################################