def test_get_by_kid(self):
        kb = keybundle_from_local_file("file://%s/jwk.json" % BASE_PATH, "jwk",
                                       ["ver", "sig"])
        kj = KeyJar()
        kj.issuer_keys["https://example.com"] = [kb]

        _key = kj.get_key_by_kid("abc", "https://example.com")
        assert _key
        assert _key.kid == "abc"
dataset/ETHPy150Open rohe/pyoidc/tests/test_keyio.py/TestKeyJar.test_get_by_kid/original