aboutsummaryrefslogtreecommitdiff
path: root/tests/test_comp_original.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_comp_original.py')
-rw-r--r--tests/test_comp_original.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_comp_original.py b/tests/test_comp_original.py
index 6264644..8cd00a4 100644
--- a/tests/test_comp_original.py
+++ b/tests/test_comp_original.py
@@ -2,16 +2,15 @@ from avp.command import Command
from avp.toolkit.visualizer import transformData
from pytestqt import qtbot
from pytest import fixture
-from . import audioData, MockSignal, imageDataSum
+from . import audioData, command, MockSignal, imageDataSum
sampleSize = 1470 # 44100 / 30 = 1470
@fixture
-def coreWithClassicComp(qtbot):
+def coreWithClassicComp(qtbot, command):
"""Fixture providing a Command object with Classic Visualizer component added"""
- command = Command()
command.core.insertComponent(
0, command.core.moduleIndexFor("Classic Visualizer"), command
)