Update test to reflect new config values
All checks were successful
Run tests / test (pull_request) Successful in 32s
All checks were successful
Run tests / test (pull_request) Successful in 32s
This commit is contained in:
parent
228a5155a0
commit
a545cd50d8
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue