Пример #1
0
    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()
Пример #2
0
    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()
Пример #3
0
 def tearDown(self):
     common.deactivate()
Пример #4
0
 def tearDown(self):
     self.server_proc.terminate()
     self.server_proc.wait()
     common.deactivate()