From a1ddc6ce1d945588a2c912f987db6e39483986da Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Thu, 10 Nov 2022 13:24:13 +0100 Subject: [PATCH] Fix test file comparison filters --- tests/test_base/test_base_config.py | 2 +- tests/test_dialogs/test_dlg_preferences.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_base/test_base_config.py b/tests/test_base/test_base_config.py index a11095c3..0159952b 100644 --- a/tests/test_base/test_base_config.py +++ b/tests/test_base/test_base_config.py @@ -112,7 +112,7 @@ def testBaseConfig_InitLoadSave(monkeypatch, fncPath, tstPaths): # Check that we have a default file copyfile(confFile, testFile) - ignore = ("timestamp", "lastnotes", "guilang", "lastpath") + ignore = ("timestamp", "lastnotes", "localisation", "lastpath") assert cmpFiles(testFile, compFile, ignoreStart=ignore) tstConf.errorText() # This clears the error cache diff --git a/tests/test_dialogs/test_dlg_preferences.py b/tests/test_dialogs/test_dlg_preferences.py index b36cc02e..a5990d95 100644 --- a/tests/test_dialogs/test_dlg_preferences.py +++ b/tests/test_dialogs/test_dlg_preferences.py @@ -221,7 +221,7 @@ def testDlgPreferences_Main(qtbot, monkeypatch, nwGUI, fncPath, tstPaths): compFile = tstPaths.refDir / "guiPreferences_novelwriter.conf" copyfile(projFile, testFile) ignTuple = ( - "timestamp", "guifont", "lastnotes", "guilang", "geometry", + "timestamp", "font", "lastnotes", "localisation", "geometry", "preferences", "projcols", "mainpane", "docpane", "viewpane", "outlinepane", "textfont", "textsize", "lastpath", "backuppath" )