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

Method test_get_non_exist_fields

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

Source from the content-addressed store, hash-verified

88 self.assertEqual(form['unknown'].value, '1')
89
90 def test_get_non_exist_fields(self):
91 form = self.callFUT()
92 self.assertRaises(AssertionError, form.get, 'nonfield')
93
94 def test_get_non_exist_fields_with_default(self):
95 form = self.callFUT()

Callers

nothing calls this directly

Calls 1

callFUTMethod · 0.95

Tested by

no test coverage detected