From 31aaafa254c5c14f14adcbe035423a0cd6d75ae6 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Thu, 18 Apr 2013 20:27:54 +0200 Subject: [PATCH] clean ups --- openlp/plugins/songs/forms/editsongform.py | 1 - .../interfaces/openlp_plugins/songs/forms/test_editsongform.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index 818ed1b87..beddee475 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -697,7 +697,6 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog): for verse in verses: if not verse in order: verses_not_used.append(verse) - print len(verses_not_used) self.warning_label.setVisible(len(verses_not_used) > 0 and bool(text)) def on_copyright_insert_button_triggered(self): diff --git a/tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py b/tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py index 9c74c38c0..829bc1fbc 100644 --- a/tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py +++ b/tests/interfaces/openlp_plugins/songs/forms/test_editsongform.py @@ -46,7 +46,7 @@ class TestEditSongForm(TestCase): def is_verse_edit_form_executed_t(self): pass - def verse_order_warning_hidden_(self): + def verse_order_warning_hidden_test(self): """ Test if the verse order warning lable is visible, when a verse order is specified """