test: fix tests for qtheme v1

This commit is contained in:
wakonig_k authored and wyzula-jan committed 2025-10-15 14:10:12 +02:00
1 parent e18aa505c8
commit fb69ba96a5
4 files changed
+8 -12

No files matched your search

-4
View File
@@ -17,10 +17,6 @@ def stop_button(qtbot, mocked_client):
def test_stop_button(stop_button):
assert stop_button.button.text() == "Stop"
assert (
stop_button.button.styleSheet()
== "background-color: #cc181e; color: white; font-weight: bold; font-size: 12px;"
)
stop_button.button.click()
assert stop_button.queue.request_scan_halt.called
stop_button.close()