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()
|
environment.run()
|
||||||
new_config = environment.config
|
new_config = environment.config
|
||||||
new_config_dict = dict(new_config.value.get())
|
new_config_dict = dict(option_value(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():
|
assert expected == new_config_dict
|
||||||
assert expected[key.name()] == value
|
# for key, value in new_config_dict.items():
|
||||||
|
# assert expected[key.name()] == value
|
||||||
|
|
||||||
|
|
||||||
def populate(dest_dir, rougailconfig):
|
def populate(dest_dir, rougailconfig):
|
||||||
|
|
Loading…
Reference in a new issue