Skip to content

Commit 430ed01

Browse files
author
Ming
committed
Fix test
1 parent e760aa2 commit 430ed01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def test_unsuccessful_response(client_v3):
174174
def test_proxy_url(client_v3):
175175
tgt = 'tgt-1234'
176176
proxy_url_string = client_v3.get_proxy_url(tgt)
177-
assert proxy_url_string == 'https://cas.example.com/cas//proxy?pgt=tgt-1234&targetService=https%3A%2F%2Fexample.com%2Flogin' or proxy_url_string == 'https://cas.example.com/cas//proxy?targetService=https%3A%2F%2Fexample.com%2Flogin&pgt=tgt-1234'
177+
assert proxy_url_string == 'https://cas.example.com/cas/proxy?pgt=tgt-1234&targetService=https%3A%2F%2Fexample.com%2Flogin' or proxy_url_string == 'https://cas.example.com/cas/proxy?targetService=https%3A%2F%2Fexample.com%2Flogin&pgt=tgt-1234'
178178

179179
#test CAS+SAML protocol
180180
def test_can_saml_assertion_is_encoded():

0 commit comments

Comments
 (0)