Fix some missing test coverage

This commit is contained in:
Veronica Berglyd Olsen committed 2023-08-23 20:51:42 +02:00
1 parent af50b219a6
commit e1ba66fb87
5 files changed
+137 -117

No files matched your search

+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