Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pysaml2 / tests / test_41_response.pyc
Size: Mime:
ó
6£ßNc@s²ddlmZmZddlmZddlmZddlmZddlmZddl	m
Z
ddl	mZddl	mZd	Z
d
Zd„Zddd
„ƒYZdS(iÿÿÿÿ(tsamltconfig(tServer(tresponse_factory(tStatusResponse(t
AuthnResponse(tsecurity_context(tSecurityContext(tget_xmlsec_binaryssaml_signed.xmlssaml2_response.xmlcCst|ƒt|ƒkS(N(tset(tl1tl2((sB/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_41_response.pyt_eqstTestResponsecBs,eZd„Zd„Zd„Zd„ZRS(c
CsÔtdƒ}|jjddƒ}|jdddidd6d|ƒ|_|jdddidd6d|dtƒ|_|jdddidd6d|d	tjd
fƒ|_	t
jƒ}|jdƒ||_
dS(Ntidp_confs#urn:mace:example.com:saml:roland:sptid12s http://lingon.catalogix.se:8087/tJeterteduPersonEntitlementtname_idtsigntauthnshttp://www.example.com/logintserver_conf(Rtidentttransient_nameidtdo_responset_resp_tTruet_sign_resp_RtAUTHN_PASSWORDt_resp_authnRtSPConfigt	load_filetconf(tselftserverRR ((sB/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_41_response.pytsetup_classs6		



cCs|d|jfjdƒd}t||jdddidd6d	d
dtƒ}t|tƒsct‚t|tƒsxt‚dS(Ns%ss
itreturn_addrs http://lingon.catalogix.se:8087/toutstanding_queriesshttp://localhost:8088/ssoRt	timeslacki'tdecode(	RtsplitRR tFalset
isinstanceRtAssertionErrorR(R!txml_responsetresp((sB/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_41_response.pyttest_1:s
cCsd|jfjddƒd}t||jdddidd6d	d
dtƒ}t|tƒsft‚t|tƒs{t‚dS(Ns%ss
iR$s http://lingon.catalogix.se:8087/R%shttp://localhost:8088/ssoRR&i'R'(	RR(RR R)R*RR+R(R!R,R-((sB/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_41_response.pyttest_2Ds 
cCsÅtjtdƒjƒƒ}t|jƒdks6t‚t|jƒdksQt‚tƒ}t	|ddƒ}t
|ddƒ}|j|ƒt|jƒdks¦t‚t|jƒdksÁt‚dS(Ns!encrypted_attribute_statement.xmliitkey_filesprivate_key.pemt	entity_id(
Rtattribute_statement_from_stringtopentreadtlent	attributeR+tencrypted_attributeRRRtNonetdecrypt_attributes(R!t	attr_stattxmlsectsecR-((sB/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_41_response.pyttest_decryptYs	
(t__name__t
__module__R#R.R/R=(((sB/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_41_response.pyR
s	$	
	N((tsaml2RRtsaml2.serverRtsaml2.responseRRRtsaml2.sigverRRRtXML_RESPONSE_FILEtXML_RESPONSE_FILE2RR
(((sB/home/lgs/proyectos/yaco/pysaml2/pysaml2/tests/test_41_response.pyt<module>s