MCPcopy Index your code
hub / github.com/authlib/authlib / test_import_from_json_str

Function test_import_from_json_str

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

Source from the content-addressed store, hash-verified

12
13
14def test_import_from_json_str():
15 data = '{"kty":"oct","k":"mGF6N2AY9YSRizMBv-DMe5NGpIP7AAcGX_w_jdiHMWc"}'
16 key = import_any_key(data)
17 assert isinstance(key, OctKey)
18
19
20def test_import_raw_str():

Callers

nothing calls this directly

Calls 1

import_any_keyFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…