update test
This commit is contained in:
parent
08520c7ab5
commit
62af6dbe7e
1 changed files with 4 additions and 3 deletions
|
@ -73,13 +73,14 @@ def test_dictionaries_warning(test_dir):
|
|||
)
|
||||
environment.run()
|
||||
new_config = environment.config
|
||||
new_config_dict = dict(new_config.value.get())
|
||||
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
|
||||
for key, value in new_config_dict.items():
|
||||
assert expected[key.name()] == value
|
||||
assert expected == new_config_dict
|
||||
# for key, value in new_config_dict.items():
|
||||
# assert expected[key.name()] == value
|
||||
|
||||
|
||||
def populate(dest_dir, rougailconfig):
|
||||
|
|
Loading…
Reference in a new issue