Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/b/o/boatd-HEAD/boatd/tests/test_config.py   boatd(Download)
    def test_load_yaml(self):
        config = boatd.Config.from_yaml(self.yaml_file)
        assert config.boatd
 
    def test_load_json(self):
        config = boatd.Config.from_json(self.json_file)
        assert config.boatd
 
    def test_port(self):
        config = boatd.Config.from_yaml(self.yaml_file)
    def test_driver(self):
        config = boatd.Config.from_yaml(self.yaml_file)
        assert config.scripts.driver == 'driver.py'
 
    def test_set_attr(self):
        config = boatd.Config.from_yaml(self.yaml_file)

src/b/o/boatd-HEAD/boatd/tests/test_logging.py   boatd(Download)
    def setup(self):
        self.boat = MockBoat()
        self.conf = boatd.Config.from_yaml('boatd-config.yaml')
 
        base_name = self.conf.boatd.log.gpx.filename