Skip to content

Commit 230b819

Browse files
committed
Adjust tests to pydantic V2.9
1 parent 1967d83 commit 230b819

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/tests/service/test_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,14 +1095,14 @@ class TestPostRequest(PostEndpointTests):
10951095
"loc": ["arguments", "argument_as_float"],
10961096
"msg": "Field required",
10971097
"input": {"noFieldInModel": "foo bar"},
1098-
"url": "https://errors.pydantic.dev/2.8/v/missing",
1098+
"url": "https://errors.pydantic.dev/2.9/v/missing",
10991099
},
11001100
{
11011101
"type": "missing",
11021102
"loc": ["parameters"],
11031103
"msg": "Field required",
11041104
"input": {"arguments": {"noFieldInModel": "foo bar"}},
1105-
"url": "https://errors.pydantic.dev/2.8/v/missing",
1105+
"url": "https://errors.pydantic.dev/2.9/v/missing",
11061106
},
11071107
]
11081108
}
@@ -1135,14 +1135,14 @@ class TestPostFitParameters(PostEndpointTests):
11351135
"loc": ["arguments", "argument_as_float"],
11361136
"msg": "Field required",
11371137
"input": {"noFieldInModel": "foo bar"},
1138-
"url": "https://errors.pydantic.dev/2.8/v/missing",
1138+
"url": "https://errors.pydantic.dev/2.9/v/missing",
11391139
},
11401140
{
11411141
"type": "missing",
11421142
"loc": ["observations"],
11431143
"msg": "Field required",
11441144
"input": {"arguments": {"noFieldInModel": "foo bar"}},
1145-
"url": "https://errors.pydantic.dev/2.8/v/missing",
1145+
"url": "https://errors.pydantic.dev/2.9/v/missing",
11461146
},
11471147
]
11481148
}

0 commit comments

Comments
 (0)