예제 #1
0
    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
예제 #2
0
    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
예제 #3
0
 def setUp(self):
     self.app = velo_monitor.create_app()
     self.client = self.app.test_client()
예제 #4
0
 def setUp(self):
     self.app = velo_monitor.create_app()
     self.client = self.app.test_client()