mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix: spinner: update reference image for widget test, use apply_theme
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
@ -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)
|
||||
|
Reference in New Issue
Block a user