# coding: utf-8 # a run file for uwsgi from application.main import app_factory app = app_factory('Config')
def set_up(testcase): app = main.app_factory('Testing') testcase.app = app testcase.client = app.test_client(use_cookies=False)