mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-08-02 16:28:22 +02:00
fix(bec_widgets): adapt to bec_qthemes 1.0
This commit is contained in:
@@ -4,7 +4,7 @@ import pytest
|
||||
from qtpy.QtCore import Qt
|
||||
from qtpy.QtWidgets import QApplication
|
||||
|
||||
from bec_widgets.utils.colors import set_theme
|
||||
from bec_widgets.utils.colors import apply_theme
|
||||
from bec_widgets.widgets.utility.visual.dark_mode_button.dark_mode_button import DarkModeButton
|
||||
|
||||
# pylint: disable=unused-import
|
||||
@@ -21,7 +21,7 @@ def dark_mode_button(qtbot, mocked_client):
|
||||
button = DarkModeButton(client=mocked_client)
|
||||
qtbot.addWidget(button)
|
||||
qtbot.waitExposed(button)
|
||||
set_theme("light")
|
||||
apply_theme("light")
|
||||
yield button
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user