

def test_no_deletion(self):
    fake_site = object()
    inline = MediaPermanentInline(EpisodePermanent, fake_site)
    fake_request = object()
    formset = inline.get_formset(fake_request)
    self.assertFalse(formset.can_delete)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py NoInlineDeletionTest.test_no_deletion/original