update function signature for config.load()

This commit is contained in:
Mike Fährmann
2019-02-27 16:52:15 +01:00
parent 3595cd582f
commit 176b7253a1
3 changed files with 18 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ class TestConfig(unittest.TestCase):
fd, self._configfile = tempfile.mkstemp()
with os.fdopen(fd, "w") as file:
file.write('{"a": "1", "b": {"a": 2, "c": "text"}}')
config.load(self._configfile)
config.load((self._configfile,))
def tearDown(self):
config.clear()