MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / test_ref_schema

Function test_ref_schema

tests/lib/_parse/test_transform.py:12–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def test_ref_schema():
13 schema = {"$ref": "#/components/schemas/SomeSchema"}
14 result = transform_schema(schema)
15 assert result == snapshot({"$ref": "#/components/schemas/SomeSchema"})
16
17
18def test_ref_schema_with_defs():

Callers

nothing calls this directly

Calls 1

transform_schemaFunction · 0.90

Tested by

no test coverage detected