#NEWLINE# def test_update_document( self ) : #NEWLINE# #INDENT# with vcr . use_cassette ( 'fixtures/update_document.yaml' ) : #NEWLINE# #INDENT# document_id = '2' #NEWLINE# id = self . client . update_document ( self . engine , self . document_type , document_id , { #NEWLINE# #INDENT# 'title' : 'a new title' , #NEWLINE# #UNINDENT# } ) [ 'body' ] [ 'external_id' ] #NEWLINE# self . assertEqual ( id , document_id )