We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52538ca commit ffa48b5Copy full SHA for ffa48b5
tests/test_config.py
@@ -166,6 +166,7 @@ def test_str_validation():
166
167
def test_str_to_addr_list_validation():
168
c = config.Config()
169
+ assert c.proxy_allow_ips == ["127.0.0.1", "::1"]
170
assert c.forwarded_allow_ips == ["127.0.0.1", "::1"]
171
c.set("forwarded_allow_ips", "127.0.0.1,192.0.2.1")
172
assert c.forwarded_allow_ips == ["127.0.0.1", "192.0.2.1"]
@@ -183,7 +184,7 @@ def test_str_to_addr_list_validation():
183
184
185
def test_str_to_list():
186
- assert c.forwarder_headers == ["SCRIPT_NAME"]
187
+ assert c.forwarder_headers == ["SCRIPT_NAME", "PATH_INFO"]
188
c.set("forwarder_headers", "SCRIPT_NAME,REMOTE_USER")
189
assert c.forwarder_headers == ["SCRIPT_NAME", "REMOTE_USER"]
190
c.set("forwarder_headers", "")
0 commit comments