<s> """<STR_LIT>""" <EOL> import os <EOL> class Error ( Exception ) : <EOL> pass <EOL> class Configuration ( object ) : <EOL> def __init__ ( self ) : <EOL> self . work_directory = os . environ [ '<STR_LIT>' ] <EOL> self . sys_directory = os . environ [ '<STR_LIT>' ] <EOL> self . tool_directory = os . environ [ '<STR_LIT>' ] <EOL> self . score_path = os . getenv ( '<STR_LIT>' , '<STR_LIT>' ) . split ( '<STR_LIT::>' ) <EOL> if self . score_path == [ '<STR_LIT>' ] : <EOL> self . score_path = [ ] <EOL> def workdir ( self ) : <EOL> return self . work_directory <EOL> def sysdir ( self ) : <EOL> return self . sys_directory <EOL> def tooldir ( self ) : <EOL> return self . tool_directory <EOL> def scorepath ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . score_path <EOL> def override_workdir_for_test ( self , test_workdir ) : <EOL> self . work_directory = test_workdir <EOL> def override_sysdir_for_test ( self , test_sysdir ) : <EOL> self . sys_directory = test_sysdir <EOL> def override_scorepath_for_test ( self , test_scorepath ) : <EOL> self . score_path = test_scorepath <EOL> conf = Configuration ( ) </s>
