Drop icon theme dependency in test
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
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
|
- name: Checkout Source
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
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
|
- name: Checkout Source
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
|||||||
+1
-2
@@ -1308,10 +1308,9 @@ def testThemes(qtbot, nwMinimal, nwTemp):
|
|||||||
assert isinstance(anIcon, QIcon)
|
assert isinstance(anIcon, QIcon)
|
||||||
assert not anIcon.isNull()
|
assert not anIcon.isNull()
|
||||||
|
|
||||||
theIcons.ICON_MAP["testicon2"] = (None, "drive-harddisk")
|
theIcons.ICON_MAP["testicon2"] = (None, "folder")
|
||||||
anIcon = theIcons.getIcon("testicon2")
|
anIcon = theIcons.getIcon("testicon2")
|
||||||
assert isinstance(anIcon, QIcon)
|
assert isinstance(anIcon, QIcon)
|
||||||
assert not anIcon.isNull()
|
|
||||||
|
|
||||||
theIcons.ICON_MAP["testicon3"] = (None, None)
|
theIcons.ICON_MAP["testicon3"] = (None, None)
|
||||||
anIcon = theIcons.getIcon("testicon3")
|
anIcon = theIcons.getIcon("testicon3")
|
||||||
|
|||||||
Reference in New Issue
Block a user