#NEWLINE# def test_do_action( self ) : #NEWLINE# #INDENT# client = Mock ( ) #NEWLINE# client . indices . get_settings . return_value = testvars . settings_four #NEWLINE# client . cluster . state . return_value = testvars . clu_state_four #NEWLINE# client . indices . stats . return_value = testvars . stats_four #NEWLINE# client . indices . delete . return_value = None #NEWLINE# ilo = curator . IndexList ( client ) #NEWLINE# do = curator . DeleteIndices ( ilo ) #NEWLINE# self . assertIsNone ( do . do_action ( ) )