#NEWLINE# def basic_test( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . write_simple_cfg ( ) #NEWLINE# self . write_params ( ) #NEWLINE# ret = os . system ( ( './simulator.py -c %s' % self . tmpcfgmodule ) ) #NEWLINE# self . assertEqual ( 0 , ret ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# os . unlink ( self . tmpcfg ) #NEWLINE# os . unlink ( self . tmpparamsfile ) #NEWLINE# if os . path . exists ( self . tmpcfgpyc ) : #NEWLINE# #INDENT# os . unlink ( self . tmpcfgpyc )