#NEWLINE# def test_disabled_info( self ) : #NEWLINE# #INDENT# controller = self . get_controller ( expose_info = False ) #NEWLINE# req = Request . blank ( '/info' , environ = { #NEWLINE# #INDENT# 'REQUEST_METHOD' : 'GET' , #NEWLINE# #UNINDENT# } ) #NEWLINE# resp = controller . GET ( req ) #NEWLINE# self . assertTrue ( isinstance ( resp , HTTPException ) ) #NEWLINE# self . assertEqual ( '403 Forbidden' , str ( resp ) )