(self)
| 120 | self.assertEqual(form.get('checkbox', index=2).value, '30') |
| 121 | |
| 122 | def test_button_submit(self): |
| 123 | form = self.callFUT(formid='multiple_buttons_form') |
| 124 | display = form.submit('action') |
| 125 | self.assertIn(u("action=deactivate"), display, display) |
| 126 | |
| 127 | def test_button_submit_by_index(self): |
| 128 | form = self.callFUT(formid='multiple_buttons_form') |