def test_empty_fields_on_modelform(self):
        form = self.EmptyPersonForm()
        self.assertEqual(len(form.fields), 0)
No fields on a ModelForm should actually result in no fields
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/model_forms_regress/tests.py/EmptyFieldsTestCase.test_empty_fields_on_modelform