#NEWLINE# def test_users_with_permission_for_instance( self ) : #NEWLINE# #INDENT# users_with_change_permission = self . policy . users_with_permission_for_instance ( 'change' , self . useless_image ) #NEWLINE# self . assertResultSetEqual ( users_with_change_permission , [ self . superuser , self . image_changer , self . oneoff_image_changer ] ) #NEWLINE# users_with_delete_permission = self . policy . users_with_permission_for_instance ( 'delete' , self . useless_image ) #NEWLINE# self . assertResultSetEqual ( users_with_delete_permission , [ self . superuser , self . oneoff_image_deleter ] )