test(kit): hoist EDIT_HINT import to module scope in summary-strip test

This commit is contained in:
2026-06-11 13:50:25 -04:00
parent 927bf0f23b
commit 20ca6d1105

View File

@@ -2,7 +2,7 @@
from PySide6.QtWidgets import QLabel
from cim_suite.core.ui.kit import SummaryStrip
from cim_suite.core.ui.kit import EDIT_HINT, SummaryStrip
def _items(strip):
@@ -36,8 +36,6 @@ def test_hint_is_microcaps(qtbot):
def test_edit_hint_is_the_shared_kit_constant(qtbot):
from cim_suite.core.ui.kit import EDIT_HINT
strip = SummaryStrip()
qtbot.addWidget(strip)
strip.set_hint(EDIT_HINT)