#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# module_path = os . path . dirname ( __file__ ) #NEWLINE# self . module_path = module_path #NEWLINE# test_config = os . path . join ( module_path , 'test_config.yaml' ) #NEWLINE# with open ( test_config , 'r' ) as cfg_file : #NEWLINE# #INDENT# self . config = yaml . load ( cfg_file . read ( ) ) #NEWLINE# #UNINDENT# self . target_file = os . path . join ( module_path , 'test_data/dev.target' ) #NEWLINE# self . source_file = os . path . join ( module_path , 'test_data/dev.source' ) #NEWLINE# self . tags_file = os . path . join ( module_path , 'test_data/dev.target.tags' )