Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

update references to old class names

zzstoatzze383d5d75a72
diff --git a/tests/test_func_metadata.py b/tests/test_func_metadata.py
index 91a102e40..980d2c503 100644
--- a/tests/test_func_metadata.py
+++ b/tests/test_func_metadata.py
@@ -241,12 +241,12 @@ def test_complex_function_json_schema():
"title": "InnerModel",
"type": "object",
},
- "TestInputModelA": {
+ "SomeInputModelA": {
"properties": {},
- "title": "TestInputModelA",
+ "title": "SomeInputModelA",
"type": "object",
},
- "TestInputModelB": {
+ "SomeInputModelB": {
"properties": {
"how_many_shrimp": {
"description": "How many shrimp in the tank???",
@@ -257,7 +257,7 @@ def test_complex_function_json_schema():
"y": {"title": "Y", "type": "null"},
},
"required": ["how_many_shrimp", "ok", "y"],
- "title": "TestInputModelB",
+ "title": "SomeInputModelB",
"type": "object",
},
},
@@ -301,9 +301,9 @@ def test_complex_function_json_schema():
"type": "integer",
},
"unannotated": {"title": "unannotated", "type": "string"},
- "my_model_a": {"$ref": "#/$defs/TestInputModelA"},
- "my_model_a_forward_ref": {"$ref": "#/$defs/TestInputModelA"},
- "my_model_b": {"$ref": "#/$defs/TestInputModelB"},
+ "my_model_a": {"$ref": "#/$defs/SomeInputModelA"},
+ "my_model_a_forward_ref": {"$ref": "#/$defs/SomeInputModelA"},
+ "my_model_b": {"$ref": "#/$defs/SomeInputModelB"},
"an_int_annotated_with_field_default": {
"default": 1,
"description": "An int with a field",
@@ -316,7 +316,7 @@ def test_complex_function_json_schema():
"type": "string",
},
"my_model_a_with_default": {
- "$ref": "#/$defs/TestInputModelA",
+ "$ref": "#/$defs/SomeInputModelA",
"default": {},
},
"an_int_with_default": {