MCPcopy
hub / github.com/Pylons/pyramid / setUp

Method setUp

docs/quick_tutorial/logging/tutorial/tests.py:31–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29
30class TutorialFunctionalTests(unittest.TestCase):
31 def setUp(self):
32 from tutorial import main
33 app = main({})
34 from webtest import TestApp
35
36 self.testapp = TestApp(app)
37
38 def test_home(self):
39 res = self.testapp.get('/', status=200)

Callers

nothing calls this directly

Calls 2

mainFunction · 0.90
TestAppClass · 0.85

Tested by

no test coverage detected