#NEWLINE# def test_group_authenticated( self ) : #NEWLINE# #INDENT# " Special 'authenticated' group sets perms for logged-in users " #NEWLINE# self . backend . group_permissions . return_value = { #NEWLINE# #INDENT# 'authenticated' : [ 'read' , 'write' ] , #NEWLINE# #UNINDENT# } #NEWLINE# acl = self . backend . get_acl ( 'mypkg' ) #NEWLINE# self . assert_allowed ( acl , 'read' , [ Authenticated ] ) #NEWLINE# self . assert_allowed ( acl , 'write' , [ Authenticated ] )