#NEWLINE# def test_get_object_users_with_permission( self ) : #NEWLINE# #INDENT# alice = self . _create_user ( 'alice' , 'alice' ) #NEWLINE# org_user = tools . create_organization ( 'modilabs' , alice ) . user #NEWLINE# self . _publish_transportation_form ( ) #NEWLINE# EditorRole . add ( org_user , self . xform ) #NEWLINE# users_with_perms = get_object_users_with_permissions ( self . xform ) #NEWLINE# self . assertFalse ( ( org_user in [ d [ 'user' ] for d in users_with_perms ] ) )