

def testExtraParam(self):
    '\n        With extra=0, there should be one form.\n        '
    e = self._create_object(EpisodeExtra)
    response = self.client.get(('/generic_inline_admin/admin/generic_inline_admin/episodeextra/%s/' % e.pk))
    formset = response.context['inline_admin_formsets'][0].formset
    self.assertEqual(formset.total_form_count(), 1)
    self.assertEqual(self.initial_form_count(), 1)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py GenericInlineAdminParametersTest.testExtraParam/VarMisuse@69/130 `formset`->`self`