aboutsummaryrefslogtreecommitdiff
path: root/tests/test_comp_waveform.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_comp_waveform.py')
-rw-r--r--tests/test_comp_waveform.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_comp_waveform.py b/tests/test_comp_waveform.py
index a71040b..eb5800d 100644
--- a/tests/test_comp_waveform.py
+++ b/tests/test_comp_waveform.py
@@ -1,12 +1,11 @@
-from avp.command import Command
from pytestqt import qtbot
from pytest import fixture
+from . import command
@fixture
-def coreWithWaveformComp(qtbot):
+def coreWithWaveformComp(qtbot, command):
"""Fixture providing a Command object with Waveform component added"""
- command = Command()
command.core.insertComponent(0, command.core.moduleIndexFor("Waveform"), command)
yield command.core