def withFixture(self): common.activate({'main': ['basic']}) with traad.app.bind_to_project(common.activated_path('main')) as self.traad_app: self.app = webtest.TestApp(self.traad_app) yield common.deactivate()
def withFixture(self): common.activate({'main': ['basic']}) with traad.app.bind_to_project( common.activated_path('main')) as self.traad_app: self.app = webtest.TestApp(self.traad_app) yield common.deactivate()
def tearDown(self): common.deactivate()
def tearDown(self): self.server_proc.terminate() self.server_proc.wait() common.deactivate()