#NEWLINE# def test_get_command( self ) : #NEWLINE# #INDENT# m = manager . Manager ( [ 'test' ] ) #NEWLINE# self . assertEqual ( self . start , m . get_command ( 'start' ) ) #NEWLINE# self . assertEqual ( m . force_reload , m . get_command ( 'force-reload' ) ) #NEWLINE# self . assertEqual ( m . get_command ( 'force-reload' ) , m . get_command ( 'force_reload' ) ) #NEWLINE# self . assertRaises ( manager . UnknownCommandError , m . get_command , 'no_command' ) #NEWLINE# self . assertRaises ( manager . UnknownCommandError , m . get_command , '__init__' )