def setUp(self, mock_read_json): setUp_ConfigManager( config=self.default_case, paths=self.dummy_paths, pods={'C': self.default_pod_CF} ) _ = util_mdtf.VariableTranslator(unittest = True)
def setUp(self): # set up translation dictionary without calls to filesystem setUp_ConfigManager( paths={ 'CODE_ROOT': 'A', 'OBS_DATA_ROOT': 'B', 'MODEL_DATA_ROOT': 'C', 'WORKING_DIR': 'D', 'OUTPUT_DIR': 'E' })
def setUp(self): # set up translation dictionary without calls to filesystem setUp_ConfigManager(config=self.case_dict, paths={ 'CODE_ROOT': 'A', 'OBS_DATA_ROOT': 'B', 'MODEL_DATA_ROOT': 'C', 'WORKING_DIR': 'D', 'OUTPUT_DIR': 'E' }, pods={ 'AA': { 'settings': {}, 'varlist': [{ 'var_name': 'pr_var', 'freq': 'mon' }] } })
def setUp(self): # set up translation dictionary without calls to filesystem setUp_ConfigManager()
def setUp(self, mock_read_json): setUp_ConfigManager(paths=self.dummy_paths, pods={'DUMMY_POD': self.default_pod}) _ = util_mdtf.VariableTranslator(unittest=True)
def setUp(self): setUp_ConfigManager()