File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ def test_keys_by_alg_and_usage():
553553
554554
555555def test_copy ():
556- issuer = KeyIssuer ('Alice' , storage_conf = STORAGE_CONFIG )
556+ issuer = KeyIssuer (name = 'Alice' , storage_conf = STORAGE_CONFIG )
557557 issuer .add_kb (KeyBundle (JWK0 ['keys' ], storage_conf = STORAGE_CONFIG ))
558558 issuer_copy = issuer .copy ()
559559
@@ -562,10 +562,10 @@ def test_copy():
562562
563563
564564def test_repr ():
565- issuer = KeyIssuer ('Alice' , storage_conf = STORAGE_CONFIG )
565+ issuer = KeyIssuer (name = 'Alice' , storage_conf = STORAGE_CONFIG )
566566 issuer .add_kb (KeyBundle (JWK0 ['keys' ], storage_conf = STORAGE_CONFIG ))
567567 txt = issuer .__repr__ ()
568- assert " <KeyIssuer(KeyBundles=" in txt
568+ assert ' <KeyIssuer "Alice" (KeyBundles=' in txt
569569
570570
571571def test_load_keys ():
@@ -578,7 +578,7 @@ def test_load_keys():
578578def test_find ():
579579 _path = full_path ('../tests/jwk_private_key.json' )
580580 kb = KeyBundle (source = 'file://{}' .format (_path ), storage_conf = STORAGE_CONFIG )
581- issuer = KeyIssuer ('Alice' , storage_conf = STORAGE_CONFIG )
581+ issuer = KeyIssuer (name = 'Alice' , storage_conf = STORAGE_CONFIG )
582582 issuer .add_kb (kb )
583583
584584 assert issuer .find ('{}' .format (_path ))
You can’t perform that action at this time.
0 commit comments