- Fixed a song test, returning a translated string (causing the test to fail)

bzr-revno: 2273
This commit is contained in:
Andreas Preikschat 2013-07-07 00:18:10 +02:00
commit f72932cd94

View File

@ -7,7 +7,7 @@ from unittest import TestCase
from mock import patch, MagicMock from mock import patch, MagicMock
from PyQt4 import QtGui from PyQt4 import QtCore, QtGui
from openlp.core.lib import Registry, ServiceItem, Settings from openlp.core.lib import Registry, ServiceItem, Settings
@ -32,6 +32,7 @@ class TestMediaItem(TestCase):
fd, self.ini_file = mkstemp(u'.ini') fd, self.ini_file = mkstemp(u'.ini')
Settings().set_filename(self.ini_file) Settings().set_filename(self.ini_file)
self.application = QtGui.QApplication.instance() self.application = QtGui.QApplication.instance()
QtCore.QLocale.setDefault(QtCore.QLocale('en_GB'))
def tearDown(self): def tearDown(self):
""" """