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

Method setUp

docs/quick_tutorial/forms/tutorial/tests.py:23–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21
22class TutorialFunctionalTests(unittest.TestCase):
23 def setUp(self):
24 from tutorial import main
25
26 app = main({})
27 from webtest import TestApp
28
29 self.testapp = TestApp(app)
30
31 def tearDown(self):
32 testing.tearDown()

Callers

nothing calls this directly

Calls 2

mainFunction · 0.90
TestAppClass · 0.85

Tested by

no test coverage detected