Fix tests and a bug in GuiMain
This commit is contained in:
@@ -962,7 +962,7 @@ def testCoreProject_OrphanedFiles(dummyGUI, nwLipsum):
|
||||
# First Item with Meta Data
|
||||
oItem = theProject.projTree["636b6aa9b697b"]
|
||||
assert oItem is not None
|
||||
assert oItem.itemName == "Recovered: Mars"
|
||||
assert oItem.itemName == "[Recovered] Mars"
|
||||
assert oItem.itemHandle == "636b6aa9b697b"
|
||||
assert oItem.itemParent == "60bdf227455cc"
|
||||
assert oItem.itemClass == nwItemClass.WORLD
|
||||
|
||||
@@ -168,6 +168,6 @@ def testCoreSpell_Simple(monkeypatch, tmpDir, tmpConf):
|
||||
assert "D_word" in wSuggest
|
||||
|
||||
# List dictionaries
|
||||
assert spChk.listDictionaries() == [("en", "English [%s]" % nwConst.SP_INTERNAL)]
|
||||
assert spChk.listDictionaries() == [("en", "difflib")]
|
||||
|
||||
# END Test testCoreSpell_Simple
|
||||
|
||||
Reference in New Issue
Block a user