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

Method setUp

tests/test_integration.py:67–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 package = None
66
67 def setUp(self):
68 from pyramid.config import Configurator
69
70 config = Configurator(
71 root_factory=self.root_factory, package=self.package
72 )
73 config.include(self.package)
74 self.app = config.make_wsgi_app()
75 self.testapp = TestApp(self.app)
76 self.config = config
77
78 def tearDown(self):
79 self.config.end()

Callers

nothing calls this directly

Calls 4

includeMethod · 0.95
make_wsgi_appMethod · 0.95
ConfiguratorClass · 0.90
TestAppClass · 0.85

Tested by

no test coverage detected