def test_fieldset(self):
        class _Form(Form):
            fields=[
                FieldSet('set', fields=[
                    Field('first', convs.Int(), initial=1, permissions='r'),
                    Field('second', convs.Int(), initial=2),
                ]),
                Field('third', convs.Int()),
            ]
        env = AppEnvironment.create()
        form = _Form(env)
        self.assert_(form.accept(MultiDict(**{'set.first': '2', 'set.second': '2', 'third': '3'})))
        self.assertEqual(form.python_data, {'set': {'first': 1, 'second': 2}, 'third': 3})
        self.assertEqual(form.raw_data, MultiDict(**{'set.first': '1', 'set.second': '2', 'third':'3'}))
do various checks on the imports of a project
dataset/ETHPy150Open SmartTeleMax/iktomi/tests/forms/forms.py/FormReadonlyFieldsTest.test_fieldset--crossover with--dataset/ETHPy150Open floooh/fips/mod/dep.py/check_imports