Update test to reflect new config values
All checks were successful
Run tests / test (pull_request) Successful in 32s

This commit is contained in:
Jaroslav Groman 2026-06-18 11:05:59 +00:00
commit a545cd50d8

View file

@ -60,8 +60,8 @@ class TestProxyFixMiddleware:
THEN ProxyFix should have x_for=1, x_proto=1, others=0
"""
pf = openshift_app.wsgi_app.app # unwrap _ForwardedHeaderFix
assert pf.x_for == 1
assert pf.x_proto == 1
assert pf.x_for == 2
assert pf.x_proto == 2
assert pf.x_host == 0
assert pf.x_port == 0
assert pf.x_prefix == 0