Exemple #1
0
 def test_load_default(self):
     current_dir = os.getcwd()
     os.chdir(self.directory)
     conf = goatd.load_conf('config.yaml')
     assert conf.scripts.driver == 'driver.py'
Exemple #2
0
 def test_load_yaml_config(self):
     conf_file = os.path.join(self.directory, 'config.yaml')
     conf = goatd.load_conf(conf_file)
     assert conf.scripts.driver == 'driver.py'