#NEWLINE# def assert_allowed( self , context , perm , principals ) : #NEWLINE# #INDENT# ' Assert that only a particular set of principals has access ' #NEWLINE# allowed = self . allowed ( context , perm ) #NEWLINE# self . assertEqual ( self , set ( principals ) )