예제 #1
0
파일: test_boatd.py 프로젝트: Qinusty/boatd
 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"
예제 #2
0
파일: test_boatd.py 프로젝트: Qinusty/boatd
 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"
예제 #3
0
파일: test_boatd.py 프로젝트: thip/boatd
 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'
예제 #4
0
파일: test_boatd.py 프로젝트: zuzak/boatd
 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'
예제 #5
0
파일: test_boatd.py 프로젝트: thip/boatd
 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'