Make backup path always set

This commit is contained in:
Veronica Berglyd Olsen
2023-08-08 19:50:20 +02:00
parent 12897ff2e1
commit c40d910b69
6 changed files with 26 additions and 38 deletions
-4
View File
@@ -590,10 +590,6 @@ def testCoreProject_Backup(monkeypatch, mockGUI, fncPath, tstPaths):
# Invalid Settings
# ================
# Invalid path
CONFIG._backupPath = None
assert theProject.backupProject(doNotify=False) is False
# Missing project name
CONFIG._backupPath = tstPaths.tmpDir
theProject.data.setName("")