delete rougail namespace

This commit is contained in:
gwen 2024-10-01 12:13:30 +02:00
parent c51db38022
commit 08520c7ab5

View file

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