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

Method test_too_many_forms

tests/test_forms.py:160–164  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 self.assertRaises(TypeError, lambda: res.form)
159
160 def test_too_many_forms(self):
161 app = self.callFUT(
162 '<html><body><form></form><form></form></body></html>')
163 res = app.get('/form.html')
164 self.assertRaises(TypeError, lambda: res.form)
165
166
167class TestInput(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

callFUTMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected