def setUp(self): self.app = db_app.app_nodb() self.view = Viewy() request = testing.DummyRequest() request._LOCALE_ = "en" self.config = testing.setUp(request=request) self.config.include('pyramid_chameleon')
def test_include_app(self): a = app_nodb() a.Register(wf1) a.Register(wf2) self.assert_(a.GetWorkflowConf(wf1.id, self.obj).id == wf1.id) self.assert_(a.GetWorkflowConf(wf2.id).id == wf2.id)
def setUp(self): self.app = db_app.app_nodb() pass