#NEWLINE# def test_type_mistyped( self ) : #NEWLINE# #INDENT# res = self . app . post_json_api ( self . url , { #NEWLINE# #INDENT# 'data' : [ { #NEWLINE# #INDENT# 'type' : 'not_linked_nodes' , #NEWLINE# 'id' : self . contributor_node . _id , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } , auth = self . user . auth , expect_errors = True ) #NEWLINE# assert_equal ( res . status_code , 409 )