Skip to content

Video editing with Python

add test for PR306

Billy Earneyf07e6a3538c2
diff --git a/tests/test_issues.py b/tests/test_issues.py
index f3b4e4df..c00f3388 100644
--- a/tests/test_issues.py
+++ b/tests/test_issues.py
@@ -34,3 +34,13 @@ def test_download_media(capsys):
def test_issue_145():
with pytest.raises(Exception, message="Expecting Exception"):
_final = concatenation([knights10], method = 'composite')
+
+def test_PR_306():
+ assert TextClip.list('font') != []
+ assert TextClip.list('color') != []
+
+ with pytest.raises(Exception, message="Expecting Exception"):
+ TextClip.list('blah')
+
+if __name__ == '__main__':
+ pytest.main()