From ffa48b581dcaa75f17fd2df263515e4266feeef6 Mon Sep 17 00:00:00 2001 From: "Paul J. Dorn" Date: Thu, 8 Aug 2024 18:37:32 +0200 Subject: [PATCH] test: default change was intentional --- tests/test_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_config.py b/tests/test_config.py index 9afb4e49c..f41edc4d5 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -166,6 +166,7 @@ def test_str_validation(): def test_str_to_addr_list_validation(): c = config.Config() + assert c.proxy_allow_ips == ["127.0.0.1", "::1"] assert c.forwarded_allow_ips == ["127.0.0.1", "::1"] c.set("forwarded_allow_ips", "127.0.0.1,192.0.2.1") assert c.forwarded_allow_ips == ["127.0.0.1", "192.0.2.1"] @@ -183,7 +184,7 @@ def test_str_to_addr_list_validation(): def test_str_to_list(): c = config.Config() - assert c.forwarder_headers == ["SCRIPT_NAME"] + assert c.forwarder_headers == ["SCRIPT_NAME", "PATH_INFO"] c.set("forwarder_headers", "SCRIPT_NAME,REMOTE_USER") assert c.forwarder_headers == ["SCRIPT_NAME", "REMOTE_USER"] c.set("forwarder_headers", "")