Skip to content

Commit

Permalink
Update theme test due to new API
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Sep 2, 2015
1 parent 524716f commit caa3c34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/src/python/test_qgsapplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@

class TestPyQgsApplication(unittest.TestCase):

@expectedFailure
def testInvalidThemeName(self):
"""Check using an invalid theme will fallback to 'default'"""
QGISAPP.setThemeName('fooobar')
QGISAPP.setUITheme('fooobar')
myExpectedResult = 'default'
myResult = QGISAPP.themeName()
myMessage = ('Expected:\n%s\nGot:\n%s\n' %
Expand Down

0 comments on commit caa3c34

Please sign in to comment.