Fix test if local config file exists
This commit is contained in:
parent
485597e7b1
commit
49edece2f2
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue