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

Method test_button_submit_by_value

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

Source from the content-addressed store, hash-verified

130 self.assertIn(u("action=activate"), display, display)
131
132 def test_button_submit_by_value(self):
133 form = self.callFUT(formid='multiple_buttons_form')
134 display = form.submit('action', value='activate')
135 self.assertIn(u("action=activate"), display, display)
136
137 def test_button_submit_by_value_and_index(self):
138 form = self.callFUT(formid='multiple_buttons_form')

Callers

nothing calls this directly

Calls 3

callFUTMethod · 0.95
uFunction · 0.90
submitMethod · 0.80

Tested by

no test coverage detected