more Qwen2.5-VL tests

This commit is contained in:
SkalskiP committed 2025-11-15 22:51:22 +01:00
1 parent 5af13c0f8c
commit a99015ac2d
1 file changed
+12
+12
View File
@@ -357,6 +357,18 @@ def test_from_paligemma(
np.array(["dog", "cat"], dtype=str),
),
), # truncated response, last object unfinished, previous ones recovered
(
pytest.raises(ValueError),
"""```json
[
{"bbox_2d": [10, 20, 110, 120], "label": "cat"}
]
```""",
(0, 640),
(1280, 720),
None,
None, # invalid input_wh
),
(
pytest.raises(ValueError),
"""```json