Fix some missing test coverage

This commit is contained in:
Veronica Berglyd Olsen
2023-08-23 20:51:42 +02:00
parent af50b219a6
commit e1ba66fb87
5 changed files with 137 additions and 117 deletions
+1 -2
View File
@@ -190,8 +190,7 @@ def testCoreProject_Open(monkeypatch, caplog, mockGUI, fncPath, mockRnd):
# Force open with lockfile
theProject.storage._lockFilePath = fncPath / nwFiles.PROJ_LOCK
assert theProject.storage.writeLockFile() is True
theProject.storage.clearLockFile()
assert theProject.openProject(fncPath) is True
assert theProject.openProject(fncPath, clearLock=True) is True
theProject.closeProject()
assert theProject.lockStatus is None