Skip to content

Commit bf9747c

Browse files
author
Erick Tryzelaar
committed
fix test_51_client
1 parent 0c7eb44 commit bf9747c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_51_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
from fakeIDP import FakeIDP
3232
from fakeIDP import unpack_form
33-
33+
from pathutils import full_path
3434

3535
AUTHN = {
3636
"class_ref": INTERNETPROTOCOLPASSWORD,
@@ -391,7 +391,7 @@ def test_sign_then_encrypt_assertion(self):
391391
assertion.id, _sec.my_cert, 1)
392392

393393
sigass = _sec.sign_statement(assertion, class_name(assertion),
394-
key_file="pki/mykey.pem",
394+
key_file=full_path("test.key"),
395395
node_id=assertion.id)
396396
# Create an Assertion instance from the signed assertion
397397
_ass = saml.assertion_from_string(sigass)
@@ -416,7 +416,7 @@ def test_sign_then_encrypt_assertion(self):
416416
seresp = samlp.response_from_string(decr_text)
417417
resp_ass = []
418418

419-
sign_cert_file = "pki/mycert.pem"
419+
sign_cert_file = full_path("test.pem")
420420
for enc_ass in seresp.encrypted_assertion:
421421
assers = extension_elements_to_elements(
422422
enc_ass.extension_elements, [saml, samlp])

0 commit comments

Comments
 (0)