#NEWLINE# def test_unknown_model_records_creation( self ) : #NEWLINE# #INDENT# resp = self . app . post_json ( '/models/unknown/records' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , status = 404 ) #NEWLINE# self . assertDictEqual ( self . json , force_unicode ( { #NEWLINE# #INDENT# 'errors' : [ { #NEWLINE# #INDENT# 'description' : 'Unknown model unknown' , #NEWLINE# 'location' : 'path' , #NEWLINE# 'name' : 'modelname' , #NEWLINE# #UNINDENT# } ] , #NEWLINE# 'status' : 'error' , #NEWLINE# #UNINDENT# } ) )