

def testGenericInlineFormsetFactory(self):
    inline_formset = generic_inlineformset_factory(Media, exclude=('url',))
    e = Episode.objects.get(name='This Week in Django')
    formset = inline_formset(instance=formset)
    self.assertTrue(formset.get_queryset().ordered)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py GenericAdminViewTest.testGenericInlineFormsetFactory/VarMisuse@43/68 `e`->`formset`