Module ImportFrom alias ImportFrom alias alias Import alias Import alias ImportFrom alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A unittest TestCase mock Mock patch N/A elasticsearch N/A curator N/A testvars testvars TestActionReplicas N/A TestCase N/A test_init_raise_bad_client N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A curator Replicas invalid count 2 N/A test_init_raise_no_count N/A N/A self N/A N/A N/A client N/A Mock N/A N/A N/A N/A client indices get_settings return_value N/A testvars settings_one N/A N/A N/A N/A client cluster state return_value N/A testvars clu_state_one N/A N/A N/A N/A client indices stats return_value N/A testvars stats_one N/A ilo N/A N/A curator IndexList client N/A N/A N/A self assertRaises N/A curator MissingArgument N/A curator Replicas ilo N/A test_init N/A N/A self N/A N/A N/A client N/A Mock N/A N/A N/A N/A client indices get_settings return_value N/A testvars settings_one N/A N/A N/A N/A client cluster state return_value N/A testvars clu_state_one N/A N/A N/A N/A client indices stats return_value N/A testvars stats_one N/A N/A N/A N/A client indices put_settings return_value None N/A ilo N/A N/A curator IndexList client N/A ro N/A N/A curator Replicas ilo count 2 N/A N/A N/A self assertEqual ilo N/A ro index_list N/A N/A N/A self assertEqual client N/A ro client N/A test_do_dry_run N/A N/A self N/A N/A N/A client N/A Mock N/A N/A N/A N/A client indices get_settings return_value N/A testvars settings_one N/A N/A N/A N/A client cluster state return_value N/A testvars clu_state_one N/A N/A N/A N/A client indices stats return_value N/A testvars stats_one N/A N/A N/A N/A client indices put_settings return_value None N/A ilo N/A N/A curator IndexList client N/A ro N/A N/A curator Replicas ilo count 0 N/A N/A N/A self assertIsNone N/A N/A ro do_dry_run N/A test_do_action N/A N/A self N/A N/A N/A client N/A Mock N/A N/A N/A N/A client indices get_settings return_value N/A testvars settings_one N/A N/A N/A N/A client cluster state return_value N/A testvars clu_state_one N/A N/A N/A N/A client indices stats return_value N/A testvars stats_one N/A N/A N/A N/A client indices put_settings return_value None N/A ilo N/A N/A curator IndexList client N/A ro N/A N/A curator Replicas ilo count 0 N/A N/A N/A self assertIsNone N/A N/A ro do_action N/A test_do_action_raises_exception N/A N/A self N/A N/A N/A client N/A Mock N/A N/A N/A N/A client indices get_settings return_value N/A testvars settings_one N/A N/A N/A N/A client cluster state return_value N/A testvars clu_state_one N/A N/A N/A N/A client indices stats return_value N/A testvars stats_one N/A N/A N/A N/A client indices segments return_value N/A testvars shards N/A N/A N/A N/A client indices put_settings return_value None N/A N/A N/A N/A client indices put_settings side_effect N/A testvars fake_fail N/A ilo N/A N/A curator IndexList client N/A ro N/A N/A curator Replicas ilo count 2 N/A N/A N/A self assertRaises N/A curator FailedExecution N/A ro do_action N/A N/A