new config

This commit is contained in:
gwen 2024-10-01 12:24:44 +02:00
parent 62af6dbe7e
commit d9b76e3bf2

View file

@ -72,15 +72,11 @@ def test_dictionaries_warning(test_dir):
user_datas=user_datas,
)
environment.run()
new_config = environment.config
new_config_dict = dict(option_value(new_config.value.get()))
# expected output
with open(Path('tests') / 'envvars' / current_dirname / 'makedict' / 'all.env') as json_file:
expected = load(json_file)
# here is the effective test
assert expected == new_config_dict
# for key, value in new_config_dict.items():
# assert expected[key.name()] == value
assert expected == config_dict
def populate(dest_dir, rougailconfig):