We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e20a60 commit 9cf2593Copy full SHA for 9cf2593
1 file changed
tests/test_04_key_jar.py
@@ -973,3 +973,15 @@ def test_contains():
973
974
assert 'Bob' in kj
975
assert 'David' not in kj
976
+
977
978
+def test_similar():
979
+ ISSUER = "xyzzy"
980
981
+ kj = KeyJar()
982
+ kb = KeyBundle(JWK2)
983
+ kj.add_kb(issuer=ISSUER, kb=kb)
984
985
+ keys1 = kj.get_issuer_keys(ISSUER)
986
+ keys2 = kj[ISSUER].all_keys()
987
+ assert keys1 == keys2
0 commit comments