#NEWLINE# def test_list_commands( self ) : #NEWLINE# #INDENT# for ( cmd , help ) in manager . Manager . list_commands ( ) : #NEWLINE# #INDENT# method = getattr ( manager . Manager , cmd . replace ( '-' , '_' ) , None ) #NEWLINE# self . assertTrue ( self , ( '%s is not a command' % cmd ) ) #NEWLINE# self . assertTrue ( getattr ( method , 'publicly_accessible' , False ) ) #NEWLINE# self . assertEqual ( method . __doc__ . strip ( ) , help )