File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,4 +54,4 @@ def test_parse_x5c_keys():
5454 assert False
5555 except Exception as e :
5656 assert isinstance (e , InvalidJwk )
57- assert str (e ) == "unable to parse key from pem: invalid_x5c"
57+ assert str (e ) == "unable to parse key from pem chain: [' invalid_x5c'] "
Original file line number Diff line number Diff line change @@ -274,5 +274,5 @@ def test_handler_failed_validation():
274274 )
275275 assert False , "Validation should have failed."
276276 except Exception as e :
277- assert str (e ) == "Unknown Trust Anchor: 'https://credential_issuer .example.org' is not a recognizable Trust Anchor." , "Incorrect exception message."
277+ assert str (e ) == "Unknown Trust Anchor: 'https://credential-issuer .example.org' is not a recognizable Trust Anchor." , "Incorrect exception message."
278278
Original file line number Diff line number Diff line change 5454from pyeudiw .jwt .jwe_helper import JWEHelper
5555from pyeudiw .satosa .utils .response import JsonResponse
5656from pyeudiw .tests .x509 .test_x509 import gen_chain
57- from pyeudiw .x509 .verify import der_list_to_pem_list
57+ from pyeudiw .x509 .verify import to_pem_list
5858from pyeudiw .jwk .parse import parse_pem
5959
6060PKEY = {
@@ -113,7 +113,7 @@ class TestOpenID4VPBackend:
113113 def create_backend (self ):
114114 db_engine_inst = DBEngine (CONFIG ["storage" ])
115115
116- self .chain = der_list_to_pem_list (DEFAULT_X509_CHAIN )
116+ self .chain = to_pem_list (DEFAULT_X509_CHAIN )
117117 issuer_pem = self .chain [- 1 ]
118118 self .x509_leaf_private_key = DEFAULT_X509_LEAF_JWK
119119
You can’t perform that action at this time.
0 commit comments