Skip to content

Video editing with Python

add additional ImageSequenceClip test (#551)

Billy Earney03fdc2cf1a2a
diff --git a/tests/download_media.py b/tests/download_media.py
index a9a10981..a5742847 100644
--- a/tests/download_media.py
+++ b/tests/download_media.py
@@ -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:
diff --git a/tests/test_ImageSequenceClip.py b/tests/test_ImageSequenceClip.py
index 70afeef7..c188049c 100644
--- a/tests/test_ImageSequenceClip.py
+++ b/tests/test_ImageSequenceClip.py
@@ -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)