#NEWLINE# def SetUp( filename , rel_path = RELATIVE_TEST_PATH ) : #NEWLINE# #INDENT# ' SetUp returns a parsed python Program.' #NEWLINE# PICKLE_FILE = 'test/files/asts_python.redhawk_db' #NEWLINE# if ( not os . path . exists ( PICKLE_FILE ) ) : #NEWLINE# #INDENT# KVStore . CreateNewStore ( PICKLE_FILE , redhawk . GetVersion ( ) ) #NEWLINE# #UNINDENT# return G . GetLanguageSpecificTree ( os . path . join ( rel_path , filename ) , PICKLE_FILE , language = 'python' )