Skip to content

The agent that grows with you

test(telegram): skip the real-ffmpeg geometry check where ffmpeg is absent

teknium18fefd35bb949
diff --git a/tests/gateway/test_telegram_video_metadata.py b/tests/gateway/test_telegram_video_metadata.py
index a7f98f42868..ff145c6972d 100644
--- a/tests/gateway/test_telegram_video_metadata.py
+++ b/tests/gateway/test_telegram_video_metadata.py
@@ -76,6 +76,10 @@ async def test_send_video_without_probeable_media_omits_metadata(monkeypatch, tm
assert "duration" not in kwargs and "thumbnail" not in kwargs
+ shutil.which("ffmpeg") is None or shutil.which("ffprobe") is None,
+ reason="ffmpeg/ffprobe not installed (the CI runner ships without them)",
+)
def test_video_helpers_read_real_geometry(tmp_path):
"""On a real 16:9 clip the helpers report the true size and a 16:9 thumbnail."""
clip = tmp_path / "clip.mp4"