#NEWLINE# def test_available_commands_with_sub_cmd_has_sub_one( self ) : #NEWLINE# #INDENT# result = self . tree . available_commands ( [ 'cmd2' , 'cmd4' ] ) #NEWLINE# self . assertEqual ( len ( result ) , 1 ) #NEWLINE# self . assertEqual ( result [ 0 ] , 'cmd5' )