#NEWLINE# def test_has_perm_delete_without_obj_without_any_permission( self ) : #NEWLINE# #INDENT# permission_logic = GroupInPermissionLogic ( 'admin' , any_permission = False ) #NEWLINE# add_permission_logic ( self . article . __class__ , permission_logic ) #NEWLINE# self . assertTrue ( permission_logic . has_perm ( self . user1 , self . perm3 ) ) #NEWLINE# self . assertFalse ( permission_logic . has_perm ( self . user2 , self . perm3 ) ) #NEWLINE# self . assertFalse ( permission_logic . has_perm ( self . user3 , self . perm3 ) )