Update tests

This commit is contained in:
Veronica Berglyd Olsen committed 2023-11-08 18:06:19 +01:00
1 parent 711766cf52
commit c88fbf629d
3 files changed
+5 -1

No files matched your search

@@ -68,6 +68,8 @@ useridletime = 300
[State]
showrefpanel = True
showedittoolbar = False
useshortcodes = False
viewcomments = True
viewsynopsis = True
searchcase = False
@@ -68,6 +68,8 @@ useridletime = 300
[State]
showrefpanel = True
showedittoolbar = False
useshortcodes = False
viewcomments = True
viewsynopsis = True
searchcase = False
+1 -1
View File
@@ -140,7 +140,7 @@ def testCoreOptions_SetGet(mockGUI):
assert theOpts.getFloat("GuiProjectDetails", "mockItem", None) is None
assert theOpts.getBool("GuiProjectDetails", "clearDouble", None) is True
assert theOpts.getBool("GuiProjectDetails", "mockItem", None) is None
assert theOpts.getEnum("GuiNovelView", "lastCol", NovelTreeColumn, None) == nwColHidden
assert theOpts.getEnum("GuiNovelView", "lastCol", NovelTreeColumn, nwColHidden) == nwColHidden
# Get from non-existent groups
assert theOpts.getValue("SomeGroup", "mockItem", None) is None