#NEWLINE# def test_delete( self ) : #NEWLINE# #INDENT# result = self . check . assign ( content_object = self . user , check = 'delete_user' ) #NEWLINE# self . assertTrue ( isinstance ( result [ 0 ] , Permission ) ) #NEWLINE# self . assertFalse ( self . check . delete_user ( ) ) #NEWLINE# self . assertTrue ( self . check . delete_user ( self . user ) )