#NEWLINE# @ mock . patch ( 'cgitb.enable' ) #NEWLINE# def test_run_disabled( self , enable ) : #NEWLINE# #INDENT# opts = Options ( ) #NEWLINE# opts . tracebacks = False #NEWLINE# self . tracebacks . run ( enable ) #NEWLINE# self . assertFalse ( enable . called )