Example #1
0
 def setUp(self):
     self.app = create_app(TestConfig)
     self.app_context = self.app.app_context()
     self.app_context.push()
Example #2
0
from loki import create_app

if __name__ == '__main__':
    app = create_app()
    app.run(debug=True)
Example #3
0
 def create_app(self):
     return create_app(TestConfig)