Skip to content

Commit f388555

Browse files
author
KunxiSun
committed
fix: unit test pydanticv1
1 parent 2d3185d commit f388555

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_enums.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def test_json_schema_flat_model_pydantic_v1():
7676
"MyEnum3": {
7777
"title": "MyEnum3",
7878
"description": "An enumeration.",
79-
"enum": [1, 3],
80-
"type": "int",
79+
"enum": [1, 2],
80+
"type": "integer",
8181
},
8282
},
8383
}
@@ -104,8 +104,8 @@ def test_json_schema_inherit_model_pydantic_v1():
104104
"MyEnum3": {
105105
"title": "MyEnum3",
106106
"description": "An int enumeration.",
107-
"enum": [1, 3],
108-
"type": "int",
107+
"enum": [1, 2],
108+
"type": "integer",
109109
},
110110
},
111111
}

0 commit comments

Comments
 (0)