fix: do not use appname for config extension entry points
This commit is contained in:
parent
1daa6ee92e
commit
80b50f05da
4 changed files with 9 additions and 3 deletions
|
@ -931,7 +931,7 @@ class TestMakeConfig(FileTestCase):
|
|||
WuttaConfig.assert_called_once_with(
|
||||
[], appname="wuttatest", usedb=None, preferdb=None
|
||||
)
|
||||
load_entry_points.assert_called_once_with("wuttatest.config.extensions")
|
||||
load_entry_points.assert_called_once_with("wutta.config.extensions")
|
||||
|
||||
# confirm extensions are invoked
|
||||
load_entry_points.reset_mock()
|
||||
|
@ -945,7 +945,7 @@ class TestMakeConfig(FileTestCase):
|
|||
WuttaConfig.assert_called_once_with(
|
||||
[], appname="wuttatest", usedb=None, preferdb=None
|
||||
)
|
||||
load_entry_points.assert_called_once_with("wuttatest.config.extensions")
|
||||
load_entry_points.assert_called_once_with("wutta.config.extensions")
|
||||
foo_cls.assert_called_once_with()
|
||||
foo_obj.configure.assert_called_once_with(testconfig)
|
||||
foo_obj.startup.assert_called_once_with(testconfig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue