Skip to content

Commit

Permalink
Merge pull request #339 from drewm1980/master
Browse files Browse the repository at this point in the history
Add a test case.
  • Loading branch information
bearney74 authored Feb 21, 2017
2 parents d3582b1 + 870a5f4 commit 66c061f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tests/tests.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
"""
Tests meant to be run with pytest
To run the tests:
py.test tests.py
"""

import pytest

from moviepy.editor import *

#@pytest.fixture
def test_if_TextClip_crashes_in_caption_mode():
overlay = TextClip(txt='foo',
color='white',
size=(640, 480),
method='caption',
align='center',
fontsize=25)

@pytest.fixture
def example_video1():

def test_if_TextClip_crashes_in_label_mode():
overlay = TextClip(txt='foo', method='label')

0 comments on commit 66c061f

Please sign in to comment.