def setUp(): controller = TestController() controller.setUp() controller.app.get('/wiki/Home/') setup_global_objects() ThreadLocalORMSession.close_all() h.set_context('test', 'wiki', neighborhood='Projects') ThreadLocalORMSession.flush_all() ThreadLocalORMSession.close_all()
def setUp(): controller = TestController() controller.setUp() controller.app.get("/wiki/Home/") setup_global_objects() ThreadLocalORMSession.close_all() h.set_context("test", "wiki", neighborhood="Projects") ThreadLocalORMSession.flush_all() ThreadLocalORMSession.close_all()
def setUp(self): TestController.setUp(self) self._setUp()