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

Method test_set_submit_field

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

Source from the content-addressed store, hash-verified

21 return resp.forms[formid]
22
23 def test_set_submit_field(self):
24 form = self.callFUT()
25 self.assertRaises(
26 AttributeError,
27 form['submit'].value__set,
28 'foo'
29 )
30
31 def test_button(self):
32 form = self.callFUT()

Callers

nothing calls this directly

Calls 1

callFUTMethod · 0.95

Tested by

no test coverage detected