#NEWLINE# def test_schedule_hbase_backup_wrong_type( self ) : #NEWLINE# #INDENT# args = ( ' --cluster-id j-ABCD --dir s3://abc/  --type wrong_type' + ' --interval 10 --unit minutes' ) #NEWLINE# cmdline = ( self . prefix + args ) #NEWLINE# expected_error_msg = ( '\naws: error: invalid type. type should be' + ' either full or incremental.\n' ) #NEWLINE# result = self . run_cmd ( cmdline , 255 ) #NEWLINE# self . assertEquals ( expected_error_msg , result [ 1 ] )