- Removed un-needed import that was added earlier

- Pep8 fixes
This commit is contained in:
suutari-olli 2016-04-30 03:07:36 +03:00
parent 10c4118583
commit 09a084be18
3 changed files with 2 additions and 4 deletions

View File

@ -153,7 +153,7 @@ class UiStrings(object):
self.Version = translate('OpenLP.Ui', 'Version')
self.View = translate('OpenLP.Ui', 'View')
self.ViewMode = translate('OpenLP.Ui', 'View Mode')
# Translations used in both, bibles\lib\mediaitem.py and bibles\lib\manager.py
# Translations that are used in bibles\lib\mediaitem.py and bibles\lib\manager.py
self.BibleShortSearchTitle = translate('OpenLP.Ui', 'Search is Empty or too Short')
self.BibleShortSearch = translate('OpenLP.Ui', '<strong>The search you have entered is empty or shorter '
'than 3 characters long.<br>Please try again with '

View File

@ -24,8 +24,7 @@ This module contains tests for the lib submodule of the Presentations plugin.
"""
from unittest import TestCase
from openlp.core.common import Registry, Settings
from openlp.core.common import Registry
from openlp.plugins.bibles.lib.mediaitem import BibleMediaItem
from tests.functional import MagicMock, patch
from tests.helpers.testmixin import TestMixin

View File

@ -73,4 +73,3 @@ class TestOpenLPImport(TestCase):
self.assertIsNone(importer.do_import(), 'do_import should return None when import_source is not a list')
self.assertEqual(mocked_import_wizard.progress_bar.setMaximum.called, False,
'setMaximum on import_wizard.progress_bar should not have been called')