Skip to content

Commit

Permalink
add additional ImageSequenceClip test (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
bearney74 committed Apr 20, 2017
1 parent b67972d commit 03fdc2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/download_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def download():
'/sounds/crunching.mp3', '/images/pigs_in_a_polka.gif',
'/videos/fire2.mp4', '/videos/big_buck_bunny_0_30.webm',
'/subtitles/subtitles1.srt', '/misc/traj.txt',
'/images/vacation_2017.jpg']
'/images/vacation_2017.jpg', '/images/python_logo_upside_down.png']

# Loop through download url strings, build out path, and download the asset.
for url in urls:
Expand Down
3 changes: 1 addition & 2 deletions tests/test_ImageSequenceClip.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ def test_1():
durations.append(i)
images.append("media/python_logo.png")
durations.append(i)
images.append("media/python_logo.png")
#images.append("media/matplotlib_demo1.png")
images.append("media/python_logo_upside_down.png")

clip = ImageSequenceClip(images, durations=durations)
assert clip.duration == sum(durations)
Expand Down

0 comments on commit 03fdc2c

Please sign in to comment.