<s> from awscli . testutils import BaseAWSCommandParamsTest <EOL> class TestDescribeTapes ( BaseAWSCommandParamsTest ) : <EOL> PREFIX = '<STR_LIT>' <EOL> def test_accepts_old_argname ( self ) : <EOL> foo_arn = '<STR_LIT:a>' * <NUM_LIT:50> <EOL> bar_arn = '<STR_LIT:b>' * <NUM_LIT:50> <EOL> cmdline = ( <EOL> self . PREFIX + '<STR_LIT>' <EOL> ) % ( foo_arn , bar_arn ) <EOL> params = { <EOL> '<STR_LIT>' : foo_arn , <EOL> '<STR_LIT>' : [ bar_arn ] , <EOL> } <EOL> self . assert_params_for_cmd ( cmdline , params ) <EOL> def test_accepts_fixed_param_name ( self ) : <EOL> foo_arn = '<STR_LIT:a>' * <NUM_LIT:50> <EOL> bar_arn = '<STR_LIT:b>' * <NUM_LIT:50> <EOL> cmdline = ( <EOL> self . PREFIX + '<STR_LIT>' <EOL> ) % ( foo_arn , bar_arn ) <EOL> params = { <EOL> '<STR_LIT>' : foo_arn , <EOL> '<STR_LIT>' : [ bar_arn ] , <EOL> } <EOL> self . assert_params_for_cmd ( cmdline , params ) </s>
