From eb3efaa4f5e3c73db46f1259b43f1de9f7e78429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20Ho=CC=88rberg?= Date: Wed, 18 Mar 2015 09:05:03 +0100 Subject: [PATCH] Removed comments. --- tests/test_50_server.py | 17 ----------------- 1 file changed, 17 deletions(-) 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>