def test_fieldset_with_initial(self):
        class _Form(Form):
            fields=[
                FieldSet('set', fields=[
                    Field('first', convs.Int()),
                    Field('second', convs.Int()),
                ]),
            ]
        env = AppEnvironment.create()
        form = _Form(env, initial={'set': {'first': 1, 'second': 2}})
        self.assertEqual(form.raw_data, {'set.first': '1', 'set.second': '2'})
        self.assertEqual(form.python_data, {'set': {'first': 1, 'second': 2}})
Initialization of form object with fieldset with initial values
dataset/ETHPy150Open SmartTeleMax/iktomi/tests/forms/forms.py/FormClassInitializationTests.test_fieldset_with_initial