Пример #1
0
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()
Пример #2
0
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()
Пример #3
0
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()
Пример #4
0
 def setUp(self):
     TestController.setUp(self)
     self._setUp()
Пример #5
0
 def setUp(self):
     TestController.setUp(self)
     self._setUp()