MCPcopy Create free account
hub / github.com/Pylons/webtest / call_FUT

Method call_FUT

tests/test_app.py:155–160  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

153class TestPasteVariables(unittest.TestCase):
154
155 def call_FUT(self, **kwargs):
156 def application(environ, start_response):
157 resp = Response()
158 environ['paste.testing_variables'].update(kwargs)
159 return resp(environ, start_response)
160 return webtest.TestApp(application)
161
162 def test_paste_testing_variables_raises(self):
163 app = self.call_FUT(body='1')

Calls

no outgoing calls

Tested by

no test coverage detected