Skip to content

Commit

Permalink
create test file for pull requests (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
bearney74 committed Feb 23, 2017
1 parent ba1dd25 commit 372177a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions tests/test_PR.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"""
Tests meant to be run with pytest
"""

import sys
import os
import pytest

from moviepy.editor import *


def download_youtube_video(url, filename):
if not os.path.exists(filename):
print("\nDownloading %s\n" % filename)
download_webfile(url, filename)
print("Downloading complete...\n")


def test_PR_339():
#in caption mode
overlay = TextClip(txt='foo',
color='white',
size=(640, 480),
method='caption',
align='center',
fontsize=25)

#in_label_mode
overlay = TextClip(txt='foo', method='label')

0 comments on commit 372177a

Please sign in to comment.