File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ def test_keys_by_alg_and_usage():
553
553
554
554
555
555
def test_copy ():
556
- issuer = KeyIssuer ('Alice' , storage_conf = STORAGE_CONFIG )
556
+ issuer = KeyIssuer (name = 'Alice' , storage_conf = STORAGE_CONFIG )
557
557
issuer .add_kb (KeyBundle (JWK0 ['keys' ], storage_conf = STORAGE_CONFIG ))
558
558
issuer_copy = issuer .copy ()
559
559
@@ -562,10 +562,10 @@ def test_copy():
562
562
563
563
564
564
def test_repr ():
565
- issuer = KeyIssuer ('Alice' , storage_conf = STORAGE_CONFIG )
565
+ issuer = KeyIssuer (name = 'Alice' , storage_conf = STORAGE_CONFIG )
566
566
issuer .add_kb (KeyBundle (JWK0 ['keys' ], storage_conf = STORAGE_CONFIG ))
567
567
txt = issuer .__repr__ ()
568
- assert " <KeyIssuer(KeyBundles=" in txt
568
+ assert ' <KeyIssuer "Alice" (KeyBundles=' in txt
569
569
570
570
571
571
def test_load_keys ():
@@ -578,7 +578,7 @@ def test_load_keys():
578
578
def test_find ():
579
579
_path = full_path ('../tests/jwk_private_key.json' )
580
580
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 )
582
582
issuer .add_kb (kb )
583
583
584
584
assert issuer .find ('{}' .format (_path ))
You can’t perform that action at this time.
0 commit comments