0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

fix: spinner: update reference image for widget test, use apply_theme

This commit is contained in:
2024-07-10 15:16:07 +02:00
parent 8308115f36
commit 63db1352ee
4 changed files with 6 additions and 5 deletions

View File

@ -1,13 +1,13 @@
import pytest
import qdarktheme
from bec_widgets.utils.colors import apply_theme
from bec_widgets.utils.reference_utils import snap_and_compare
from bec_widgets.widgets.spinner.spinner import SpinnerWidget
@pytest.fixture
def spinner_widget(qtbot):
qdarktheme.setup_theme("light")
apply_theme("light")
spinner = SpinnerWidget()
qtbot.addWidget(spinner)
qtbot.waitExposed(spinner)