#NEWLINE# def test_jsonrecorder_norun( self ) : #NEWLINE# #INDENT# sout = StringIO ( ) #NEWLINE# self . top . recorders = [ JSONCaseRecorder ( sout ) ] #NEWLINE# self . top . record_configuration ( ) #NEWLINE# if os . environ . get ( 'REGEN_JSON_FILES' ) : #NEWLINE# #INDENT# with open ( 'jsonrecorder_norun.new' , 'w' ) as out : #NEWLINE# #INDENT# out . write ( sout . getvalue ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# verify_json ( self , sout , 'jsonrecorder_norun.json' )