(self)
| 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 | |
| 167 | class TestInput(unittest.TestCase): |