#NEWLINE# def test_node_does_not_exist_formatting( self ) : #NEWLINE# #INDENT# url = '/{}nodes/{}/' . format ( API_BASE , '12345' ) #NEWLINE# res = self . app . get ( url , auth = self . user . auth , expect_errors = True ) #NEWLINE# errors = res . json [ 'errors' ] #NEWLINE# assert isinstance ( errors , list ) #NEWLINE# assert_equal ( errors [ 0 ] , { #NEWLINE# #INDENT# 'detail' : 'Not found.' , #NEWLINE# #UNINDENT# } )