#NEWLINE# def test_can_delete( self ) : #NEWLINE# #INDENT# '\n        can_delete should be passed to inlineformset factory.\n        ' #NEWLINE# response = self . client . get ( self . change_url ) #NEWLINE# inner_formset = response . context [ 'inline_admin_formsets' ] [ 0 ] . formset #NEWLINE# expected = InnerInline . can_delete #NEWLINE# actual = inner_formset . can_delete #NEWLINE# self . assertEqual ( expected , actual , 'can_delete must be equal' )