#NEWLINE# def test_execute_for_command_alias( self ) : #NEWLINE# #INDENT# command = HelpCommand ( ) #NEWLINE# command . set_application ( Application ( ) ) #NEWLINE# tester = CommandTester ( command ) #NEWLINE# tester . execute ( [ ( 'command_name' , 'li' ) ] , { #NEWLINE# #INDENT# 'decorated' : False , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertIn ( 'list [options] [--] [<namespace>]' , tester . get_display ( ) )