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__)), 'test5.cfg') BUIinit(conf, False, False) app.config['TESTING'] = True app.config['LIVESERVER_PORT'] = 5001 app.config['WTF_CSRF_ENABLED'] = False bui.cli.port = 9999 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