From 33f0ec7b9813cc4994568e2da23ab2066dd0bdde Mon Sep 17 00:00:00 2001 From: Dillon Laird Date: Thu, 5 Sep 2024 09:45:51 -0700 Subject: [PATCH] fix test case --- tests/unit/tools/test_video.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/tools/test_video.py b/tests/unit/tools/test_video.py index f77ae2df..4dfcf54b 100644 --- a/tests/unit/tools/test_video.py +++ b/tests/unit/tools/test_video.py @@ -4,5 +4,7 @@ def test_extract_frames_from_video(): # TODO: consider generating a video on the fly instead video_path = "tests/data/video/test.mp4" + + # there are 48 frames at 24 fps in this video file res = extract_frames_from_video(video_path) - assert len(res) == 1 + assert len(res) == 2