def create_app(self): conf = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'test2.cfg') app.config['TESTING'] = True app.config['LOGIN_DISABLED'] = True app.config['CFG'] = conf bui.setup(conf) login_manager.init_app(app) return app
def create_app(self): conf = os.path.join(os.path.dirname(os.path.realpath(__file__)), '../burpui.sample.cfg') app.config['TESTING'] = True app.config['LOGIN_DISABLED'] = True app.config['LIVESERVER_PORT'] = 5001 app.config['CFG'] = conf bui.setup(conf) login_manager.init_app(app) return app