#NEWLINE# def test_wrong_permission( self ) : #NEWLINE# #INDENT# perm = permissions . process ( self . line ) #NEWLINE# user = 'cortex' #NEWLINE# collection = 'files' #NEWLINE# res_id = '/etc/httpd/httpd.conf' #NEWLINE# action = 'update' #NEWLINE# perms = permissions . check ( [ perm ] , user , collection , res_id ) #NEWLINE# self . assertFalse ( ( action in perms ) )