def test_load_default(self): current_dir = os.getcwd() os.chdir(self.directory) conf = boatd.load_conf("config.yaml") assert conf.scripts.driver == "driver.py"
def test_load_yaml_config(self): conf_file = os.path.join(self.directory, "config.yaml") conf = boatd.load_conf(conf_file) assert conf.scripts.driver == "driver.py"
def test_load_default(self): current_dir = os.getcwd() os.chdir(self.directory) conf = boatd.load_conf('config.yaml') assert conf.scripts.driver == 'driver.py'
def test_load_json_config(self): conf_file = os.path.join(self.directory, 'config.json') conf = boatd.load_conf(conf_file) assert conf.scripts.driver == 'driver.py'
def test_load_yaml_config(self): conf_file = os.path.join(self.directory, 'config.yaml') conf = boatd.load_conf(conf_file) assert conf.scripts.driver == 'driver.py'