forked from openlp/openlp
Fix appvoyer yet another go.
This commit is contained in:
parent
fbcf47c86a
commit
7fc55e3e40
@ -21,19 +21,17 @@
|
||||
Package to test the openlp.core.ui.icons package.
|
||||
"""
|
||||
from unittest.mock import patch
|
||||
|
||||
from PyQt5 import QtGui
|
||||
|
||||
from openlp.core.ui.icons import UiIcons
|
||||
|
||||
|
||||
@patch('openlp.core.ui.icons.UiIcons.__init__', return_value=None)
|
||||
def test_simple_icon(settings):
|
||||
# GIVEN: an basic set of icons
|
||||
with patch('openlp.core.ui.icons.UiIcons.__init__', return_value=None):
|
||||
icons = UiIcons()
|
||||
icon_list = {
|
||||
'active': {'icon': 'fa.child'}
|
||||
|
||||
}
|
||||
|
||||
icons.load_icons(icon_list)
|
||||
|
Loading…
Reference in New Issue
Block a user