Skip to content

Video editing with Python

Add another test

Andrew Wagner870a5f421624
diff --git a/tests/tests.py b/tests/tests.py
index 452969af..3cd55af8 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -6,10 +6,13 @@ To run the tests:
from moviepy.editor import *
#@pytest.fixture
-def test_if_TextClip_crashes():
+def test_if_TextClip_crashes_in_caption_mode():
overlay = TextClip(txt='foo',
color='white',
size=(640, 480),
method='caption',
align='center',
fontsize=25)
+
+def test_if_TextClip_crashes_in_label_mode():
+ overlay = TextClip(txt='foo', method='label')