def test_accept(self):
        class _Form(Form):
            fields=[Field('input', convs.Char())]
        env = AppEnvironment.create()
        form = _Form(env)
        self.assert_(form.accept(MultiDict(input='value')))
        self.assertEqual(form.python_data['input'], 'value')
Method accept of bound field returns cleaned value
dataset/ETHPy150Open SmartTeleMax/iktomi/tests/forms/fields.py/FieldTests.test_accept