File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
31
31
from fakeIDP import FakeIDP
32
32
from fakeIDP import unpack_form
33
-
33
+ from pathutils import full_path
34
34
35
35
AUTHN = {
36
36
"class_ref" : INTERNETPROTOCOLPASSWORD ,
@@ -391,7 +391,7 @@ def test_sign_then_encrypt_assertion(self):
391
391
assertion .id , _sec .my_cert , 1 )
392
392
393
393
sigass = _sec .sign_statement (assertion , class_name (assertion ),
394
- key_file = "pki/mykey.pem" ,
394
+ key_file = full_path ( "test.key" ) ,
395
395
node_id = assertion .id )
396
396
# Create an Assertion instance from the signed assertion
397
397
_ass = saml .assertion_from_string (sigass )
@@ -416,7 +416,7 @@ def test_sign_then_encrypt_assertion(self):
416
416
seresp = samlp .response_from_string (decr_text )
417
417
resp_ass = []
418
418
419
- sign_cert_file = "pki/mycert .pem"
419
+ sign_cert_file = full_path ( "test .pem")
420
420
for enc_ass in seresp .encrypted_assertion :
421
421
assers = extension_elements_to_elements (
422
422
enc_ass .extension_elements , [saml , samlp ])
You can’t perform that action at this time.
0 commit comments