#NEWLINE# def test_create_node_pointer_incorrect_type( self ) : #NEWLINE# #INDENT# payload = self . post_payload ( self . public_project . _id , outer_type = 'wrong_type' ) #NEWLINE# res = self . app . post_json_api ( self . url , payload , auth = res . user_one . auth , expect_errors = True ) #NEWLINE# assert_equal ( res . status_code , 409 ) #NEWLINE# assert_equal ( res . json [ 'errors' ] [ 0 ] [ 'detail' ] , 'Resource identifier does not match server endpoint.' )