From d63732515275c9cfb64a70ea6b68e9b1a3bea33c Mon Sep 17 00:00:00 2001 From: Nicolas Surleraux Date: Thu, 25 May 2023 14:41:26 +0200 Subject: [PATCH] Add https requirements in tests --- tests/test_traefik.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_traefik.py b/tests/test_traefik.py index 69dc681..cd7d251 100644 --- a/tests/test_traefik.py +++ b/tests/test_traefik.py @@ -245,10 +245,12 @@ def test_extra_config(tmpdir, tljh_dir): def test_listen_address(tmpdir, tljh_dir): state_dir = config.STATE_DIR config.set_config_value(config.CONFIG_FILE, "https.enabled", True) + config.set_config_value(config.CONFIG_FILE, "https.tls.key", "/path/to/ssl.key") + config.set_config_value(config.CONFIG_FILE, "https.tls.cert", "/path/to/ssl.cert") config.set_config_value(config.CONFIG_FILE, "http.address", "127.0.0.1") config.set_config_value(config.CONFIG_FILE, "https.address", "127.0.0.1") - + traefik.ensure_traefik_config(str(state_dir)) cfg = _read_static_config(state_dir)