mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-08-10 20:20:40 +02:00
fix(bec_widgets): adapt to bec_qthemes 1.0; themes can be only applied on living Qt objects
This commit is contained in:
@@ -17,10 +17,6 @@ def abort_button(qtbot, mocked_client):
|
||||
|
||||
def test_abort_button(abort_button):
|
||||
assert abort_button.button.text() == "Abort"
|
||||
assert (
|
||||
abort_button.button.styleSheet()
|
||||
== "background-color: #666666; color: white; font-weight: bold; font-size: 12px;"
|
||||
)
|
||||
abort_button.button.click()
|
||||
assert abort_button.queue.request_scan_abortion.called
|
||||
abort_button.close()
|
||||
|
||||
Reference in New Issue
Block a user