correction in fullpath option

This commit is contained in:
2017-01-09 20:16:33 +01:00
parent 66f24bd1c0
commit 7fe47396ee
3 changed files with 9 additions and 1 deletions

View File

@ -149,6 +149,7 @@ def test_make_dict_fullpath():
config.read_only()
assert config.make_dict() == {"opt.s1.a": False, "opt.int": 42, "introot": 42}
assert config.opt.make_dict() == {"s1.a": False, "int": 42}
assert config.make_dict(fullpath=True) == {"opt.s1.a": False, "opt.int": 42, "introot": 42}
assert config.opt.make_dict(fullpath=True) == {"opt.s1.a": False, "opt.int": 42}