示例#1
0
def app():
    app = create_app()
    ctx = app.test_request_context()
    ctx.push()
    yield app
    ctx.pop()
示例#2
0
# -*- coding: utf-8 -*-
from magma.app import create_app

application = create_app()