Fix tests and a bug in GuiMain

This commit is contained in:
Veronica K. B. Olsen
2021-02-15 16:48:12 +01:00
parent df19ced50c
commit 8087e8ad75
7 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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