#NEWLINE# def test_age_filtertype( self ) : #NEWLINE# #INDENT# client = Mock ( ) #NEWLINE# client . indices . get_settings . return_value = testvars . settings_two #NEWLINE# client . cluster . state . return_value = testvars . clu_state_two #NEWLINE# client . indices . stats . return_value = testvars . stats_two #NEWLINE# ilo = curator . IndexList ( client ) #NEWLINE# config = yaml . load ( testvars . age_ft ) [ 'actions' ] [ 1 ] #NEWLINE# ilo . iterate_filters ( config ) #NEWLINE# self . assertEqual ( [ 'index-2016.03.03' ] , ilo . indices )