2
0
Fork 0

Fix test if local config file exists

This commit is contained in:
Lance Edgar 2023-11-25 18:05:52 -06:00
parent 485597e7b1
commit 49edece2f2

View file

@ -600,7 +600,7 @@ class TestMakeConfig(FileConfigTestCase):
# confirm entry points for default appname # confirm entry points for default appname
load_entry_points.reset_mock() load_entry_points.reset_mock()
WuttaConfig.reset_mock() WuttaConfig.reset_mock()
config = conf.make_config(appname='wutta') config = conf.make_config([], appname='wutta')
WuttaConfig.assert_called_once_with([], appname='wutta', WuttaConfig.assert_called_once_with([], appname='wutta',
usedb=None, preferdb=None) usedb=None, preferdb=None)
load_entry_points.assert_called_once_with('wutta.config.extensions') load_entry_points.assert_called_once_with('wutta.config.extensions')