[MyPy][2/N] Fix mypy errors in small tests/ dirs (#51043)
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com> Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Harry Mellor
Claude Opus 5.5
parent
a96ee5935d
commit
5dd693122c
@@ -203,6 +203,7 @@ def test_input_image_detail_defaults_or_preserves(detail: str | None) -> None:
|
||||
|
||||
request = ResponsesRequest.model_validate({"input": [item]})
|
||||
|
||||
assert isinstance(request.input, list)
|
||||
assert request.input[0]["content"][0]["detail"] == (
|
||||
"auto" if detail is None else detail
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user