fix: resolve menu-bar shortcut collision, checkmark desync, brittle test

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-13 11:33:05 +02:00
parent 0ccc29709e
commit b4cfa7561a
2 changed files with 6 additions and 11 deletions
+1 -7
View File
@@ -1,4 +1,3 @@
import os
import pytest
# A real platform is needed because MpvWidget creates a GL context.
@@ -26,10 +25,5 @@ def win(app):
w.deleteLater()
def _descendant_object_names(widget):
"""All objectNames in a widget's child tree (for containment asserts)."""
return {c.objectName() for c in widget.findChildren(object) if c.objectName()}
def test_window_constructs(win):
assert win.windowTitle() == "8-cut"
assert win.windowTitle().startswith("8-cut")