diff --git a/tests/test_50_server.py b/tests/test_50_server.py index 50479ee..4f3c414 100644 --- a/tests/test_50_server.py +++ b/tests/test_50_server.py @@ -435,8 +435,6 @@ class TestServer1(): sresponse = response_from_string(signed_resp) - #'urn:oasis:names:tc:SAML:2.0:protocol:AuthnRequest' - valid = self.server.sec.verify_signature(signed_resp, self.server.config.cert_file, node_name='urn:oasis:names:tc:SAML:2.0:protocol:Response', @@ -450,7 +448,6 @@ class TestServer1(): resp = samlp.response_from_string(decr_text) - #Do not work since the response is changed after the signature is created. valid = self.server.sec.verify_signature(decr_text, self.server.config.cert_file, node_name='urn:oasis:names:tc:SAML:2.0:assertion:Assertion', @@ -470,9 +467,6 @@ class TestServer1(): assert ava ==\ {'mail': ['derek@nyy.mlb.com'], 'givenname': ['Derek'], 'surname': ['Jeter'], 'title': ['The man']} - #Should work, but I suspect that xmlsec manipulates the xml to much while encrypting that the signature - #is no longer working. :( - assert 'EncryptedAssertion>