Drop icon theme dependency in test

This commit is contained in:
Veronica K. B. Olsen committed 2020-09-26 15:36:11 +02:00
1 parent 711e27f048
commit 8697604f2b
2 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -1308,10 +1308,9 @@ def testThemes(qtbot, nwMinimal, nwTemp):
assert isinstance(anIcon, QIcon)
assert not anIcon.isNull()
theIcons.ICON_MAP["testicon2"] = (None, "drive-harddisk")
theIcons.ICON_MAP["testicon2"] = (None, "folder")
anIcon = theIcons.getIcon("testicon2")
assert isinstance(anIcon, QIcon)
assert not anIcon.isNull()
theIcons.ICON_MAP["testicon3"] = (None, None)
anIcon = theIcons.getIcon("testicon3")