remove own implementations of getlist and getpath method in order to use

converters feature
This commit is contained in:
2021-09-14 03:57:20 +03:00
parent 25d76b0482
commit b561bcc25d
9 changed files with 42 additions and 55 deletions

View File

@ -104,7 +104,7 @@ def test_getlist_empty(configuration: Configuration) -> None:
"""
must return list of string correctly for non-existing option
"""
assert configuration.getlist("build", "test_list") == []
assert configuration.getlist("build", "test_list", fallback=[]) == []
configuration.set_option("build", "test_list", "")
assert configuration.getlist("build", "test_list") == []