Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Sep 5, 2024
1 parent 18b096b commit 33f0ec7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/tools/test_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 33f0ec7

Please sign in to comment.