aboutsummaryrefslogtreecommitdiff
path: root/tests/test_comp_text.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_comp_text.py')
-rw-r--r--tests/test_comp_text.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_comp_text.py b/tests/test_comp_text.py
index e389ff9..20b202d 100644
--- a/tests/test_comp_text.py
+++ b/tests/test_comp_text.py
@@ -2,13 +2,12 @@ from avp.command import Command
from PyQt6.QtGui import QFont
from pytestqt import qtbot
from pytest import fixture, mark
-from . import audioData, MockSignal, imageDataSum
+from . import audioData, command, MockSignal, imageDataSum
@fixture
-def coreWithTextComp(qtbot):
+def coreWithTextComp(qtbot, command):
"""Fixture providing a Command object with Title Text component added"""
- command = Command()
command.core.insertComponent(0, command.core.moduleIndexFor("Title Text"), command)
yield command.core