#NEWLINE# def test_bulk_creates_node_pointers_collection_to_non_contributing_node( self ) : #NEWLINE# #INDENT# res = self . app . post_json_api ( self . collection_url , self . user_two_payload , auth = self . user . auth , bulk = True ) #NEWLINE# assert_equal ( res . status_code , 201 ) #NEWLINE# assert_equal ( res . content_type , 'application/vnd.api+json' ) #NEWLINE# res_json = res . json [ 'data' ] #NEWLINE# embedded = res_json [ 0 ] [ 'embeds' ] [ 'target_node' ] [ 'data' ] [ 'id' ] #NEWLINE# assert_equal ( embedded , self . user_two_project . _id ) #NEWLINE# res = self . app . get ( self . collection_url , auth = self . user . auth ) #NEWLINE# res_json = res . json [ 'data' ] #NEWLINE# embedded = res_json [ 0 ] [ 'embeds' ] [ 'target_node' ] [ 'data' ] [ 'id' ] #NEWLINE# assert_equal ( embedded , self . user_two_project . _id )