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

Function test_ref_schema

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

transform_schemaFunction · 0.90

Tested by

no test coverage detected