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

Method callFUT

tests/test_forms.py:151–153  ·  view source on GitHub ↗
(self, body)

Source from the content-addressed store, hash-verified

149class TestResponseFormAttribute(unittest.TestCase):
150
151 def callFUT(self, body):
152 app = DebugApp(form=to_bytes(body))
153 return webtest.TestApp(app)
154
155 def test_no_form(self):
156 app = self.callFUT('<html><body></body></html>')

Callers 2

test_no_formMethod · 0.95
test_too_many_formsMethod · 0.95

Calls 2

DebugAppClass · 0.90
to_bytesFunction · 0.90

Tested by

no test coverage detected