-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #339 from drewm1980/master
Add a test case.
- Loading branch information
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |