Drop icon theme dependency in test

This commit is contained in:
Veronica K. B. Olsen
2020-09-26 15:36:11 +02:00
parent 711e27f048
commit 8697604f2b
2 changed files with 3 additions and 4 deletions
+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")