#NEWLINE# def test_fifth_cmd5( self ) : #NEWLINE# #INDENT# with self . app as app : #NEWLINE# #INDENT# app . _meta . argv = [ '--foo=bar' , '--foo2=bar2' , 'third' , '--foo3=bar3' , '--foo4=bar4' , 'fifth' , '--foo5=bar5' , 'cmd5' ] #NEWLINE# res = app . run ( ) #NEWLINE# self . eq ( res , 'Inside Fifth.cmd5' ) #NEWLINE# self . eq ( app . pargs . foo , 'bar' ) #NEWLINE# self . eq ( app . pargs . foo2 , 'bar2' ) #NEWLINE# self . eq ( app . pargs . foo3 , 'bar3' ) #NEWLINE# self . eq ( res . pargs . foo4 , 'bar4' ) #NEWLINE# self . eq ( app . pargs . foo5 , 'bar5' )