#NEWLINE# def test_create_document( self ) : #NEWLINE# #INDENT# with vcr . use_cassette ( 'fixtures/create_document.yaml' ) : #NEWLINE# #INDENT# doc_id = 'doc_id' #NEWLINE# id = self . client . create_document ( self . engine , self . document_type , { #NEWLINE# #INDENT# 'external_id' : doc_id , #NEWLINE# #UNINDENT# } ) [ 'body' ] [ 'external_id' ] #NEWLINE# self . assertEqual ( id , id )