#NEWLINE# def test_put_mixed_nodes( self ) : #NEWLINE# #INDENT# res = self . app . put_json_api ( self . url , self . payload ( [ self . other_node . _id , self . contributor_node . _id ] ) , auth = self . user . auth , expect_errors = True ) #NEWLINE# assert_equal ( res . status_code , 403 ) #NEWLINE# res = self . app . get ( self . url , auth = data . user . auth ) #NEWLINE# ids = [ data [ 'id' ] for data in res . json [ 'data' ] ] #NEWLINE# assert_not_in ( self . other_node . _id , ids ) #NEWLINE# assert_not_in ( self . contributor_node . _id , ids ) #NEWLINE# assert_in ( self . private_node . _id , ids )