test(kit): hoist EDIT_HINT import to module scope in summary-strip test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user