#NEWLINE# def test_bootstrap_actions_exceed_maximum_error( self ) : #NEWLINE# #INDENT# cmd = ( DEFAULT_CMD + ' --bootstrap-actions' ) #NEWLINE# ba_cmd = ' Path=s3://test/ba1,Name=ba1,Args=arg1,arg2,arg3' #NEWLINE# for i in range ( 1 , 18 ) : #NEWLINE# #INDENT# cmd += ba_cmd #NEWLINE# #UNINDENT# expected_error_msg = ( '\naws: error: maximum number of ' + 'bootstrap actions for a cluster exceeded.\n' ) #NEWLINE# result = self . run_cmd ( ba_cmd , 255 ) #NEWLINE# self . assertEquals ( expected_error_msg , result [ 1 ] )