def testExtraParam(self):
        """
        With extra=0, there should be one form.
        """
        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(formset.initial_form_count(), 1)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/generic_inline_admin/tests.py/GenericInlineAdminParametersTest.testExtraParam/original