#NEWLINE# def test_invalid_command_args( self ) : #NEWLINE# #INDENT# output = StringIO ( ) #NEWLINE# cmd = CmdFactory ( Strace , outstream = output ) #NEWLINE# pytest . raises ( InvalidCommand , cmd . execute , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , [ ] ) #NEWLINE# pytest . raises ( InvalidCommand , self . execute , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , [ 't1' , 't2' ] )