new config
This commit is contained in:
parent
62af6dbe7e
commit
d9b76e3bf2
1 changed files with 1 additions and 5 deletions
|
@ -72,15 +72,11 @@ def test_dictionaries_warning(test_dir):
|
||||||
user_datas=user_datas,
|
user_datas=user_datas,
|
||||||
)
|
)
|
||||||
environment.run()
|
environment.run()
|
||||||
new_config = environment.config
|
|
||||||
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
|
||||||
assert expected == new_config_dict
|
assert expected == config_dict
|
||||||
# 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