def setUp(self): self.app = velo_monitor.create_app() self.app.config['TESTING'] = True self.app.config['DEFAULT_CHILDREN'] = DEFAULT_CHILDREN self.client = self.app.test_client() self.old_rvd = run_view_config.run_view_pages run_view_config.run_view_pages = RUN_VIEW_PAGES
def setUp(self): self.app = velo_monitor.create_app() self.app.config['TESTING'] = True self.app.config['DEFAULT_CHILDREN'] = DEFAULT_CHILDREN self.client = self.app.test_client() self.old_rvp = VeloConfig().run_view_pages VeloConfig().run_view_pages = RUN_VIEW_PAGES
def setUp(self): self.app = velo_monitor.create_app() self.client = self.app.test_client()