def setup_app(config): model.init_model() app_conf = dict(config.app) return make_app( app_conf.pop('root'), logging=getattr(config, 'logging', {}), **app_conf )
def test_load_drivers(self): init_model()
def __init__(self): self.app = None self._init_routes() model.init_model()