def test_get_default_config(self): ext = Extension() config = ext.get_default_config() self.assertIn('[webhook]', config) self.assertIn('enabled = true', config)
def test_get_config_schema(self): ext = Extension() schema = ext.get_config_schema() self.assertIn('token', schema) self.assertIn('webhook', schema)