aboutsummaryrefslogtreecommitdiff
path: root/tests/test_comp_color.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_comp_color.py')
-rw-r--r--tests/test_comp_color.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_comp_color.py b/tests/test_comp_color.py
index 6b82e4c..48b07ff 100644
--- a/tests/test_comp_color.py
+++ b/tests/test_comp_color.py
@@ -1,13 +1,12 @@
from avp.command import Command
from pytestqt import qtbot
from pytest import fixture
-from . import imageDataSum
+from . import imageDataSum, command
@fixture
-def coreWithColorComp(qtbot):
+def coreWithColorComp(qtbot, command):
"""Fixture providing a Command object with Color component added"""
- command = Command()
command.settings.setValue("outputHeight", 1080)
command.settings.setValue("outputWidth", 1920)
command.core.insertComponent(0, command.core.moduleIndexFor("Color"), command)