def test_empty_fields_to_construct_instance(self):
        form = modelform_factory(Person)({'name': 'John Doe'})
        self.assertTrue(form.is_valid())
        instance = construct_instance(form, Person(), fields=())
        self.assertEqual(instance.name, '')
No fields should be set on a model instance if construct_instance receives fields=()
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/model_forms_regress/tests.py/EmptyFieldsTestCase.test_empty_fields_to_construct_instance