#NEWLINE# def test_param_extras( self ) : #NEWLINE# #INDENT# extra_params = [ parser . FlagParameter ( value = True , conv = parser . is_true , aliases = [ ( '-' + name ) ] , argument_name = name ) for name in 'abc' ] #NEWLINE# param = parser . PositionalParameter ( display_name = 'one' , argument_name = 'one' ) #NEWLINE# param . extras = name #NEWLINE# csig = parser . CliSignature ( [ param ] ) #NEWLINE# self . assertEqual ( '[-a] [-b] [-c] one' , str ( csig ) )