Merge 2.6.1 release into main

This commit is contained in:
Veronica Berglyd Olsen
2025-02-02 18:54:08 +01:00
34 changed files with 3462 additions and 3069 deletions
+5 -2
View File
@@ -188,12 +188,14 @@ def testDlgPreferences_Settings(qtbot, monkeypatch, nwGUI, fncPath, tstPaths):
assert CONFIG.showFullPath is True
assert CONFIG.incNotesWCount is True
# Auto Save
# Behaviour
prefs.autoSaveDoc.stepUp()
prefs.autoSaveProj.stepUp()
prefs.askBeforeExit.setChecked(False)
assert CONFIG.autoSaveDoc == 30
assert CONFIG.autoSaveProj == 60
assert CONFIG.askBeforeExit is True
# Project Backup
with monkeypatch.context() as mp:
@@ -341,9 +343,10 @@ def testDlgPreferences_Settings(qtbot, monkeypatch, nwGUI, fncPath, tstPaths):
assert CONFIG.showFullPath is False
assert CONFIG.incNotesWCount is False
# Auto Save
# Behaviour
assert CONFIG.autoSaveDoc == 31
assert CONFIG.autoSaveProj == 61
assert CONFIG.askBeforeExit is False
# Project Backup
assert CONFIG._backupPath == tstPaths.testDir