Update tests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user