From 2a3d3e46c230de736705fa0c575392bfd0ed88cc Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:27:13 +0100 Subject: [PATCH] Pin tests to set locale to en_GB --- tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 5323f93f..4ec3eeb3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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