#NEWLINE# def test_bulk_update_public_projects_logged_in( self ) : #NEWLINE# #INDENT# res = self . app . put_json_api ( self . url , self . public_payload , auth = self . user . auth , bulk = True ) #NEWLINE# assert_equal ( res . status_code , 200 ) #NEWLINE# assert_equal ( { self . public_project . _id , self . public_project_two . _id } , { res . json [ 'data' ] [ 0 ] [ 'id' ] , res . json [ 'data' ] [ 1 ] [ 'id' ] } ) #NEWLINE# assert_equal ( res . json [ 'data' ] [ 0 ] [ 'attributes' ] [ 'title' ] , self . new_title ) #NEWLINE# assert_equal ( res . json [ 'data' ] [ 1 ] [ 'attributes' ] [ 'title' ] , self . new_title )