Module Import alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Dict Str Str Str Dict Str Str ListLoad Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Str attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Str attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Str attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad decorator_list Call AttributeLoad NameLoad attr Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A mock tests.unit.customizations.emr EMRBaseAWSCommandParamsTest BaseAWSCommandParamsTest copy deepcopy TestDisableHBaseBackups N/A BaseAWSCommandParamsTest N/A N/A prefix emr disable-hbase-backups N/A DISABLE_FULL_BACKUP --disable-full-backups N/A DISABLE_INCR_BACKUP --disable-incremental-backups N/A default_steps N/A N/A HadoopJarStep Name ActionOnFailure N/A Args Jar N/A emr.hbase.backup.Main --set-scheduled-backup false /home/hadoop/lib/hbase.jar Modify Backup Schedule CANCEL_AND_WAIT test_disable_hbase_backups_full N/A N/A self N/A N/A N/A args  --cluster-id j-ABCD --full N/A cmdline N/A N/A self prefix args N/A steps N/A deepcopy N/A self default_steps N/A N/A N/A N/A N/A N/A steps N/A 0 N/A HadoopJarStep N/A Args append N/A self DISABLE_FULL_BACKUP N/A result N/A JobFlowId Steps j-ABCD steps N/A N/A N/A self assert_params_for_cmd cmdline result N/A test_disable_hbase_backups_incremental N/A N/A self N/A N/A N/A args  --cluster-id j-ABCD --incremental N/A cmdline N/A N/A self prefix args N/A steps N/A deepcopy N/A self default_steps N/A N/A N/A N/A N/A N/A steps N/A 0 N/A HadoopJarStep N/A Args append N/A self DISABLE_INCR_BACKUP N/A result N/A JobFlowId Steps j-ABCD steps N/A N/A N/A self assert_params_for_cmd cmdline result N/A test_disable_hbase_backups_both N/A N/A self N/A N/A N/A args  --cluster-id j-ABCD --full --incremental N/A cmdline N/A N/A self prefix args N/A steps N/A deepcopy N/A self default_steps N/A N/A N/A N/A N/A N/A steps N/A 0 N/A HadoopJarStep N/A Args append N/A self DISABLE_FULL_BACKUP N/A N/A N/A N/A N/A N/A steps N/A 0 N/A HadoopJarStep N/A Args append N/A self DISABLE_INCR_BACKUP N/A result N/A JobFlowId Steps j-ABCD steps N/A N/A N/A self assert_params_for_cmd cmdline result N/A test_disable_hbase_backups_none N/A N/A self N/A N/A N/A args  --cluster-id j-ABCD N/A cmdline N/A N/A self prefix args N/A expected_error_msg N/A 
Should specify at least one of --full  and --incremental.
 N/A result N/A N/A self run_cmd cmdline 255 N/A N/A N/A self assertEquals expected_error_msg N/A result N/A 1 N/A test_unsupported_command_on_release_based_cluster_error N/A N/A self grl_patch N/A N/A N/A N/A grl_patch return_value emr-4.0 N/A args  --cluster-id j-ABCD --full N/A cmdline N/A N/A self prefix args N/A expected_error_msg 
aws: error: disable-hbase-backups is not supported with 'emr-4.0' release.
 N/A result N/A N/A self run_cmd cmdline 255 N/A N/A N/A self assertEqual N/A result N/A 1 expected_error_msg N/A N/A N/A mock patch awscli.customizations.emr.emrutils.get_release_label N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main