MCPcopy
hub / github.com/authlib/authlib / test_import_legacy_oct_key

Function test_import_legacy_oct_key

tests/core/test_legacy.py:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def test_import_legacy_oct_key():
9 key1 = AuthlibOctKey.generate_key()
10 key2 = import_any_key(key1)
11 assert isinstance(key2, OctKey)
12
13
14def test_import_from_json_str():

Callers

nothing calls this directly

Calls 2

import_any_keyFunction · 0.90
generate_keyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…