Fix theme test
This commit is contained in:
@@ -146,7 +146,7 @@ def testGuiTheme_Theme(qtbot, monkeypatch, nwGUI):
|
||||
assert themesList[0] == ("default_dark", "Default Dark Theme")
|
||||
assert themesList[1] == ("default_light", "Default Light Theme")
|
||||
assert themesList[2] == ("cyberpunk_night", "Cyberpunk Night")
|
||||
assert themesList[3] == ("default", "Qt Default Theme")
|
||||
assert themesList[3] == ("dracula", "Dracula")
|
||||
|
||||
# A second call should returned the cached list
|
||||
assert mainTheme.listThemes() == mainTheme._themeList
|
||||
|
||||
Reference in New Issue
Block a user