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
+2 -2
View File
@@ -18,7 +18,7 @@ jobs:
- name: Install Packages
run: |
sudo apt update
sudo apt install xvfb libenchant-dev qt5-default breeze-icon-theme
sudo apt install xvfb libenchant-dev qt5-default
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies
@@ -51,7 +51,7 @@ jobs:
- name: Install Packages
run: |
sudo apt update
sudo apt install xvfb libenchant-dev qt5-default breeze-icon-theme
sudo apt install xvfb libenchant-dev qt5-default
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies
+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")