Skip to content

Commit caa3c34

Browse files
committed
Update theme test due to new API
1 parent 524716f commit caa3c34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/src/python/test_qgsapplication.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@
2020

2121
class TestPyQgsApplication(unittest.TestCase):
2222

23-
@expectedFailure
2423
def testInvalidThemeName(self):
2524
"""Check using an invalid theme will fallback to 'default'"""
26-
QGISAPP.setThemeName('fooobar')
25+
QGISAPP.setUITheme('fooobar')
2726
myExpectedResult = 'default'
2827
myResult = QGISAPP.themeName()
2928
myMessage = ('Expected:\n%s\nGot:\n%s\n' %

0 commit comments

Comments
 (0)