#NEWLINE# def test_create_node_link_to_fake_node( self ) : #NEWLINE# #INDENT# res = self . app . post_json_api ( self . url , self . post_payload ( self . fake_node_id ) , auth = self . user_one . auth , expect_errors = True ) #NEWLINE# assert_equal ( res . status_code , 400 ) #NEWLINE# assert_in ( 'detail' , self . json [ 'errors' ] [ 0 ] ) #NEWLINE# assert_in ( 'source' , res . json [ 'errors' ] [ 0 ] )