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