def test_with_initial(self):
        class _Form(Form):
            fields=[
                Field('first', convs.Int()),
                Field('second', convs.Int()),
            ]
        env = AppEnvironment.create()
        form = _Form(env, initial={'second':3})
        self.assert_(form.accept(MultiDict(first='1', second='2')))
        self.assertEqual(form.initial, {'second': 3})
        self.assertEqual(form.python_data, {'first':1, 'second':2})
Accept with initial data
dataset/ETHPy150Open SmartTeleMax/iktomi/tests/forms/forms.py/FormClassAcceptTests.test_with_initial