Pin tests to set locale to en_GB

This commit is contained in:
Veronica Berglyd Olsen
2024-10-28 20:27:13 +01:00
parent 9bc1561e01
commit 2a3d3e46c2
+2
View File
@@ -28,6 +28,7 @@ from pathlib import Path
import pytest
from PyQt5.QtCore import QLocale
from PyQt5.QtWidgets import QMessageBox
sys.path.insert(1, str(Path(__file__).parent.parent.absolute()))
@@ -54,6 +55,7 @@ def resetConfigVars():
CONFIG.setGuiFont(None)
CONFIG.setTextFont(None)
CONFIG._homePath = _TMP_ROOT
CONFIG._dLocale = QLocale("en_GB")
CONFIG.guiLocale = "en_GB"
return