mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-12-15 18:50:05 +01:00
feat: icon.name() (#213)
This commit is contained in:
@@ -15,6 +15,7 @@ def test_qiconify(qtbot: "QtBot", monkeypatch: "pytest.MonkeyPatch") -> None:
|
||||
|
||||
icon = QIconifyIcon("bi:alarm-fill", color="red", rotate=90)
|
||||
assert icon.path.name.endswith(".svg")
|
||||
assert icon.name() == "bi:alarm-fill"
|
||||
|
||||
btn = QPushButton()
|
||||
qtbot.addWidget(btn)
|
||||
|
||||
Reference in New Issue
Block a user