From bf360ec3322fe9f6de18bf99ae519833fe6f7531 Mon Sep 17 00:00:00 2001 From: Nicolas Surleraux Date: Wed, 24 May 2023 11:53:18 +0200 Subject: [PATCH] Enable https in test_listen_address so it renders --- tests/test_traefik.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_traefik.py b/tests/test_traefik.py index b75369d..69dc681 100644 --- a/tests/test_traefik.py +++ b/tests/test_traefik.py @@ -244,8 +244,11 @@ 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, "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)