Add config extension class, tests, docs
This commit is contained in:
parent
f9f2bcc3d0
commit
b59e83907c
3 changed files with 64 additions and 0 deletions
|
@ -382,6 +382,15 @@ configure_logging = true
|
|||
self.assertIs(type(app), AppHandler)
|
||||
|
||||
|
||||
class TestWuttaConfigExtension(TestCase):
|
||||
|
||||
def test_basic(self):
|
||||
config = conf.WuttaConfig()
|
||||
ext = conf.WuttaConfigExtension()
|
||||
self.assertIsNone(ext.key)
|
||||
self.assertEqual(repr(ext), 'WuttaConfigExtension(key=None)')
|
||||
|
||||
|
||||
class TestGenericDefaultFiles(TestCase):
|
||||
|
||||
def test_linux(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue