#NEWLINE# def test_multi_value_defaults( self ) : #NEWLINE# #INDENT# options = core . Options ( arguments . MultiValueArgument ( 'myarg' , default = [ 'hello' , 'world' ] ) ) #NEWLINE# argparser = parser . Parser ( options ) #NEWLINE# dummy_tokens = DummyTokens ( ) #NEWLINE# ( kwargs , blocks ) = argparser . parse ( dummy_parser , dummy_tokens ) #NEWLINE# self . assertEqual ( blocks , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# dummy_context = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( kwargs [ 'myarg' ] . resolve ( dummy_context ) , [ 'hello' , 'world' ] )