Fix tests and a few other bits

This commit is contained in:
Veronica Berglyd Olsen
2022-06-14 19:33:12 +02:00
parent ea61db9591
commit 538b722bdf
7 changed files with 22 additions and 65 deletions
+1 -1
View File
@@ -470,7 +470,7 @@ def testCoreProject_Open(monkeypatch, nwMinimal, mockGUI):
writeFile(os.path.join(nwMinimal, "data_0", "123456789abc_main.bak"), "stuff")
mockGUI.clear()
assert theProject.openProject(nwMinimal) is True
assert "version 1.0" in mockGUI.lastAlert
assert "There was an error updating the project." in mockGUI.lastAlert
assert theProject.closeProject()