diff options
author | Ioannis Kakavas <ikakavas@noc.grnet.gr> | 2017-08-01 15:24:35 +0300 |
---|---|---|
committer | Ioannis Kakavas <ikakavas@noc.grnet.gr> | 2017-08-01 15:24:35 +0300 |
commit | 303efd969c5d0b33c97d09c37e0c6be18588cd3c (patch) | |
tree | 5306c69fd7d6f61b6010f2c8f61f30221056fc54 /tests/test_63_ecp.py | |
parent | f58330ef71e2d745fdf244a88ed4c2502492faab (diff) | |
download | pysaml2-303efd969c5d0b33c97d09c37e0c6be18588cd3c.tar.gz |
Updated tests to work with new default signing requirements
Explicitly allow unsigned responses in tests where we do not
sign them.
Diffstat (limited to 'tests/test_63_ecp.py')
-rw-r--r-- | tests/test_63_ecp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_63_ecp.py b/tests/test_63_ecp.py index 32a1aaed..61bd98c8 100644 --- a/tests/test_63_ecp.py +++ b/tests/test_63_ecp.py @@ -92,7 +92,7 @@ def test_complete_flow(): entity_id=sp_entity_id) resp = idp.create_ecp_authn_request_response( - destination, {"eduPersonEntitlement": "Short stop", + destination,{"eduPersonEntitlement": "Short stop", "surName": "Jeter", "givenName": "Derek", "mail": "derek.jeter@nyy.mlb.com", @@ -136,7 +136,8 @@ def test_complete_flow(): assert inst.text == "XYZ" # parse the response - + # Explicitly allow unsigned responses for this test + sp.want_response_signed = False resp = sp.parse_authn_request_response(respdict["body"], None, {sid: "/"}) print(resp.response) |