fix tests

This commit is contained in:
David Soria Parra 2024-12-21 01:16:10 +00:00
commit 44e1abb7f1
No known key found for this signature in database

View file

@ -300,7 +300,7 @@ def test_complex_function_json_schema():
},
"field_with_default_via_field_annotation_before_nondefault_arg": {
"default": 1,
"title": "Field With Default Via Field Annotation Before Arg",
"title": "Field With Default Via Field Annotation Before Nondefault Arg",
"type": "integer",
},
"unannotated": {"title": "unannotated", "type": "string"},
@ -319,7 +319,7 @@ def test_complex_function_json_schema():
"type": "string",
},
"my_model_a_with_default": {
"allOf": [{"$ref": "#/$defs/SomeInputModelA"}],
"$ref": "#/$defs/SomeInputModelA",
"default": {},
},
"an_int_with_default": {