Module Import alias Import alias Import alias Import alias Import alias alias alias Import alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias identifier Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str Assign NameStore IfExp NameLoad Call NameLoad NameLoad Num ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Str Str Num Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A elasticsearch N/A curator N/A os N/A json N/A string random tempfile N/A click click testing clicktest mock patch Mock N/A CuratorTestCase N/A testvars testvars N/A logging N/A logger N/A N/A logging getLogger __name__ N/A N/A host port N/A N/A N/A N/A N/A os environ get TEST_ES_SERVER localhost:9200 split : N/A port N/A port N/A int port 9200 TestCLIMethods N/A CuratorTestCase N/A test_no_client_config N/A N/A self N/A N/A N/A N/A N/A self create_indices 10 N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars no_client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars disabled_proto format alias delete_indices N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile --dry-run N/A N/A self args N/A actionfile N/A N/A N/A self assertEqual 1 N/A result exit_code N/A test_no_logging_config N/A N/A self N/A N/A N/A N/A N/A self create_indices 10 N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars no_logging_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars disabled_proto format alias delete_indices N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile --dry-run N/A N/A self args N/A actionfile N/A N/A N/A self assertEqual 0 N/A result exit_code N/A test_invalid_action N/A N/A self N/A N/A N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars optionless_proto format invalid_action N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile N/A N/A self args N/A actionfile N/A N/A N/A self assertEqual 1 N/A result exit_code N/A test_action_is_None N/A N/A self N/A N/A N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars optionless_proto format N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile N/A N/A self args N/A actionfile N/A N/A N/A self assertEqual N/A type N/A N/A curator MissingArgument N/A type N/A result exception N/A test_no_action N/A N/A self N/A N/A N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A testvars actionless_proto N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile N/A N/A self args N/A actionfile N/A N/A N/A self assertEqual N/A type N/A N/A curator MissingArgument N/A type N/A result exception N/A test_dry_run N/A N/A self N/A N/A N/A N/A N/A self create_indices 10 N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars delete_proto format age name older '%Y.%m.%d' days 5 N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile --dry-run N/A N/A self args N/A actionfile N/A N/A N/A self assertEquals 10 N/A len N/A N/A curator get_indices N/A self client N/A test_action_disabled N/A N/A self N/A N/A N/A N/A N/A self create_indices 10 N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars disabled_proto format alias delete_indices N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile N/A N/A self args N/A actionfile N/A N/A N/A self assertEquals 0 N/A len N/A N/A curator get_indices N/A self client N/A N/A N/A self assertEqual 0 N/A result exit_code N/A test_continue_if_exception N/A N/A self N/A N/A N/A N/A N/A self create_indices 10 N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars continue_proto format alias True delete_indices False N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile N/A N/A self args N/A actionfile N/A N/A N/A self assertEquals 0 N/A len N/A N/A curator get_indices N/A self client N/A N/A N/A self assertEqual 0 N/A result exit_code N/A test_continue_if_exception_False N/A N/A self N/A N/A N/A N/A N/A self create_indices 10 N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars continue_proto format alias False delete_indices False N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile N/A N/A self args N/A actionfile N/A N/A N/A self assertEquals 10 N/A len N/A N/A curator get_indices N/A self client N/A N/A N/A self assertEqual 1 N/A result exit_code N/A test_no_options_in_action N/A N/A self N/A N/A N/A N/A N/A self create_indices 10 N/A N/A N/A self write_config N/A N/A self args N/A configfile N/A N/A N/A testvars client_config format host port N/A N/A N/A self write_config N/A N/A self args N/A actionfile N/A N/A N/A testvars no_options_proto format delete_indices N/A test N/A N/A clicktest CliRunner N/A result N/A N/A test invoke N/A curator cli N/A --config N/A N/A self args N/A configfile --dry-run N/A N/A self args N/A actionfile N/A N/A N/A self assertEqual 0 N/A result exit_code N/A N/A