diff --git a/openlp/core/ui/servicemanager.py b/openlp/core/ui/servicemanager.py index e3e93c07f..0074fd18f 100644 --- a/openlp/core/ui/servicemanager.py +++ b/openlp/core/ui/servicemanager.py @@ -391,7 +391,7 @@ class ServiceManager(QtGui.QWidget, ServiceManagerDialog): Loads the service file and saves the existing one it there is one unchanged - ``load_File`` + ``load_file`` The service file to the loaded. Will be None is from menu so selection will be required. """ diff --git a/openlp/plugins/custom/lib/mediaitem.py b/openlp/plugins/custom/lib/mediaitem.py index 3e059e608..e434f516a 100644 --- a/openlp/plugins/custom/lib/mediaitem.py +++ b/openlp/plugins/custom/lib/mediaitem.py @@ -137,7 +137,7 @@ class CustomMediaItem(MediaManagerItem): self.onSearchTextButtonClicked() item = self.buildServiceItem(remote=True) self.remoteTriggered = None - self.remoteCustom =1 + self.remoteCustom = 1 if item: return item return None diff --git a/tests/functional/openlp_core_ui/test_servicenotedialog.py b/tests/functional/openlp_core_ui/test_servicenotedialog.py index e8dca9a34..f708c18f2 100644 --- a/tests/functional/openlp_core_ui/test_servicenotedialog.py +++ b/tests/functional/openlp_core_ui/test_servicenotedialog.py @@ -42,7 +42,7 @@ class TestStartNoteDialog(TestCase): QtTest.QTest.mouseClick(okWidget, QtCore.Qt.LeftButton) # THEN the following input text is returned - self.assertEqual(self.form.text_edit.toPlainText(), u'', u'The returned text is empty') + self.assertEqual(self.form.text_edit.toPlainText(), u'', u'The returned text should be empty') # WHEN displaying the UI, having set the text and pressing enter text = u'OpenLP is the best worship software' @@ -53,7 +53,7 @@ class TestStartNoteDialog(TestCase): QtTest.QTest.mouseClick(okWidget, QtCore.Qt.LeftButton) # THEN the following text is returned - self.assertEqual(self.form.text_edit.toPlainText(), text, u'The text is as originally entered') + self.assertEqual(self.form.text_edit.toPlainText(), text, u'The text originally entered should still be there') # WHEN displaying the UI, having set the text and pressing enter self.form.text_edit.setPlainText(u'') @@ -64,4 +64,4 @@ class TestStartNoteDialog(TestCase): QtTest.QTest.mouseClick(okWidget, QtCore.Qt.LeftButton) # THEN the following text is returned - self.assertEqual(self.form.text_edit.toPlainText(), text, u'The text is as changed text is returned') \ No newline at end of file + self.assertEqual(self.form.text_edit.toPlainText(), text, u'The text changed text should be returned') \ No newline at end of file