def test_load_conf(): """Test the configuration loading """ with pytest.raises(SystemExit): kisee.load_conf("settings.toml") config = kisee.load_conf("tests/test_settings.toml") assert config["server"]["host"] == "0.0.0.0"
def client(loop, aiohttp_client): settings = kisee.load_conf("tests/test_settings.toml") app = kisee.create_app(settings) return loop.run_until_complete(aiohttp_client(app))
def settings(): return kisee.load_conf("tests/test_settings.toml")