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

Method test_button

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

Source from the content-addressed store, hash-verified

29 )
30
31 def test_button(self):
32 form = self.callFUT()
33 button = form['button']
34 self.assertTrue(isinstance(button, Submit),
35 "<button> without type is a submit button")
36
37 def test_button_value_if_submitted(self):
38 form = self.callFUT()

Callers

nothing calls this directly

Calls 1

callFUTMethod · 0.95

Tested by

no test coverage detected