(self)
| 153 | return webtest.TestApp(app) |
| 154 | |
| 155 | def test_no_form(self): |
| 156 | app = self.callFUT('<html><body></body></html>') |
| 157 | res = app.get('/form.html') |
| 158 | self.assertRaises(TypeError, lambda: res.form) |
| 159 | |
| 160 | def test_too_many_forms(self): |
| 161 | app = self.callFUT( |