Make backup path always set

This commit is contained in:
Veronica Berglyd Olsen committed 2023-08-08 19:50:20 +02:00
1 parent 12897ff2e1
commit c40d910b69
6 files changed
+26 -38

No files matched your search

-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("")