From 0b93f752b817e67bc18f285e5e76c827e0393bc7 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sat, 6 Jul 2013 22:17:24 +0200 Subject: [PATCH] fixed songs test --- tests/functional/openlp_plugins/songs/test_mediaitem.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/functional/openlp_plugins/songs/test_mediaitem.py b/tests/functional/openlp_plugins/songs/test_mediaitem.py index 37f1c76e4..21616e959 100644 --- a/tests/functional/openlp_plugins/songs/test_mediaitem.py +++ b/tests/functional/openlp_plugins/songs/test_mediaitem.py @@ -7,7 +7,7 @@ from unittest import TestCase from mock import patch, MagicMock -from PyQt4 import QtGui +from PyQt4 import QtCore, QtGui from openlp.core.lib import Registry, ServiceItem, Settings @@ -32,6 +32,7 @@ class TestMediaItem(TestCase): fd, self.ini_file = mkstemp(u'.ini') Settings().set_filename(self.ini_file) self.application = QtGui.QApplication.instance() + QtCore.QLocale.setDefault(QtCore.QLocale('en_GB')) def tearDown(self): """