'can_delete should be passed to inlineformset factory.'

def test_can_delete(self):

    holder = Holder.objects.get(dummy=13)
    response = self.client.get(reverse('admin:admin_inlines_holder_change', args=(holder.id,)))
    inner_formset = response.context['inline_admin_formsets'][0].formset
    expected = InnerInline.can_delete
    actual = inner_formset.can_delete
    self.assertEqual(expected, actual, 'can_delete    must    be    equal')
