aboutsummaryrefslogtreecommitdiff
path: root/tests/test_toolkit_ffmpeg.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_toolkit_ffmpeg.py')
-rw-r--r--tests/test_toolkit_ffmpeg.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_toolkit_ffmpeg.py b/tests/test_toolkit_ffmpeg.py
index b015470..363eba1 100644
--- a/tests/test_toolkit_ffmpeg.py
+++ b/tests/test_toolkit_ffmpeg.py
@@ -1,7 +1,8 @@
import pytest
+from avp.core import Core
from avp.command import Command
from avp.toolkit.ffmpeg import createFfmpegCommand
-from . import audioData
+from . import audioData, getTestDataPath, initCore
def test_readAudioFile_data(audioData):
@@ -14,6 +15,7 @@ def test_readAudioFile_duration(audioData):
@pytest.mark.parametrize("width, height", ((1920, 1080), (1280, 720)))
def test_createFfmpegCommand(width, height):
+ initCore()
command = Command()
command.settings.setValue("outputWidth", width)
command.settings.setValue("outputHeight", height)