Editorial
This commit is contained in:
@@ -58,6 +58,7 @@ jjyG0hRT2mAQ9h+bkPmOvlEo/aH0xR68Z9hw4PF13w=="""
|
|||||||
|
|
||||||
from pyasn1.codec.der import decoder
|
from pyasn1.codec.der import decoder
|
||||||
|
|
||||||
|
|
||||||
def test_cert_from_instance_1():
|
def test_cert_from_instance_1():
|
||||||
xml_response = open(SIGNED).read()
|
xml_response = open(SIGNED).read()
|
||||||
response = samlp.response_from_string(xml_response)
|
response = samlp.response_from_string(xml_response)
|
||||||
@@ -67,6 +68,7 @@ def test_cert_from_instance_1():
|
|||||||
print certs[0]
|
print certs[0]
|
||||||
assert certs[0] == CERT1
|
assert certs[0] == CERT1
|
||||||
|
|
||||||
|
|
||||||
def test_cert_from_instance_ssp():
|
def test_cert_from_instance_ssp():
|
||||||
xml_response = open(SIMPLE_SAML_PHP_RESPONSE).read()
|
xml_response = open(SIMPLE_SAML_PHP_RESPONSE).read()
|
||||||
response = samlp.response_from_string(xml_response)
|
response = samlp.response_from_string(xml_response)
|
||||||
|
Reference in New Issue
Block a user