This commit is contained in:
Tim Bentley 2013-02-13 19:22:43 +00:00
parent bc5334fa1a
commit 89856e0e9a
3 changed files with 6 additions and 6 deletions

View File

@ -6,12 +6,12 @@ import os
from unittest import TestCase from unittest import TestCase
from mock import MagicMock
from openlp.core.lib import Registry, ImageManager, ScreenList from openlp.core.lib import Registry, ImageManager, ScreenList
from PyQt4 import QtCore, QtGui, QtTest from PyQt4 import QtGui
TEST_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), u'..', u'..', u'resources')) TEST_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), u'..', u'..', u'resources'))
class TestImageManager(TestCase): class TestImageManager(TestCase):
def setUp(self): def setUp(self):

View File

@ -1,5 +1,5 @@
""" """
Package to test the openlp.core.ui package. Package to test the openlp.core.lib package.
""" """
from unittest import TestCase from unittest import TestCase
@ -38,4 +38,4 @@ class TestStartNoteDialog(TestCase):
# WHEN I have an empty display # WHEN I have an empty display
# THEN the count of items should be zero # THEN the count of items should be zero
self.assertEqual(self.service_manager.service_manager_list.topLevelItemCount(), 0, self.assertEqual(self.service_manager.service_manager_list.topLevelItemCount(), 0,
u'There the service manager list is empty ') u'There the service manager list is not empty ')