#NEWLINE# def test_missing_value( 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# il = curator . IndexList ( client ) #NEWLINE# self . assertRaises ( curator . MissingArgument , il . filter_allocated , key = 'tag' , allocation_type = 'invalid' )