#NEWLINE# def testIndexFlush( self ) : #NEWLINE# #INDENT# self . conn . indices . create_index ( 'another-index' ) #NEWLINE# result = self . conn . indices . flush ( [ 'another-index' ] ) #NEWLINE# self . conn . indices . delete_index ( 'another-index' ) #NEWLINE# self . assertResultContains ( self , { #NEWLINE# #INDENT# 'ok' : True , #NEWLINE# #UNINDENT# } )