forked from openlp/openlp
Fixes
This commit is contained in:
parent
b9a0458200
commit
3da378a7b7
@ -2,15 +2,12 @@
|
|||||||
Package to test the openlp.core.lib.settings package.
|
Package to test the openlp.core.lib.settings package.
|
||||||
"""
|
"""
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
from tempfile import mkstemp
|
from tempfile import mkstemp
|
||||||
|
|
||||||
from openlp.core.lib import Settings
|
from openlp.core.lib import Settings
|
||||||
|
|
||||||
from PyQt4 import QtGui, QtTest
|
from PyQt4 import QtGui
|
||||||
|
|
||||||
TESTPATH = os.path.abspath(os.path.join(os.path.dirname(__file__), u'..', u'..', u'resources'))
|
|
||||||
|
|
||||||
|
|
||||||
class TestSettings(TestCase):
|
class TestSettings(TestCase):
|
||||||
@ -22,8 +19,6 @@ class TestSettings(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()
|
||||||
self.application.setOrganizationName(u'OpenLP-tests')
|
|
||||||
self.application.setOrganizationDomain(u'openlp.org')
|
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user