#NEWLINE# def test_users_with_permission( self ) : #NEWLINE# #INDENT# users_with_change_permission = self . policy . users_with_permission ( 'change' ) #NEWLINE# self . assertResultSetEqual ( users_with_custom_permission , [ self . superuser , self . doc_changer , self . report_changer , self . report_adder ] ) #NEWLINE# users_with_custom_permission = self . policy . users_with_permission ( 'frobnicate' ) #NEWLINE# self . assertResultSetEqual ( users_with_custom_permission , [ self . superuser ] )