test(images): collect missing-image 400 tests in core-utils shard

misc CI lists missing paths and collects zero tests, so patch coverage
never saw the aimage_edit guard. Keep the suite under litellm_core_utils
where core-utils actually runs.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
Techboy bebop 2026-09-20 23:08:17 -04:00
parent 0be14e72ed
commit 036908ae47

View file

@ -1,5 +1,7 @@
"""Regression tests for https://github.com/BerriAI/litellm/issues/42185
Lives under litellm_core_utils so the core-utils CI shard collects it (misc currently lists missing paths and collects zero tests).
POST /v1/images/edits without a multipart `image` used to TypeError inside
aimage_edit (required positional arg) and surface as HTTP 500. A missing client
field must be BadRequestError 400.