forked from openlp/openlp
Changed test descrition
This commit is contained in:
parent
07c997817d
commit
6aff21c784
@ -34,8 +34,7 @@ class TestEditVerseForm(TestCase, TestMixin):
|
|||||||
|
|
||||||
def update_suggested_verse_number_test(self):
|
def update_suggested_verse_number_test(self):
|
||||||
"""
|
"""
|
||||||
Test if the update_suggested_verse_number method changes the value of
|
Test that update_suggested_verse_number() has no effect when editing a single verse
|
||||||
the verse number if has_single_verse is True
|
|
||||||
"""
|
"""
|
||||||
# GIVEN some input values
|
# GIVEN some input values
|
||||||
self.edit_verse_form.has_single_verse = True
|
self.edit_verse_form.has_single_verse = True
|
||||||
@ -43,7 +42,6 @@ class TestEditVerseForm(TestCase, TestMixin):
|
|||||||
self.edit_verse_form.verse_text_edit.toPlainText = MagicMock(return_value = 'Text')
|
self.edit_verse_form.verse_text_edit.toPlainText = MagicMock(return_value = 'Text')
|
||||||
self.edit_verse_form.verse_number_box.setValue(3)
|
self.edit_verse_form.verse_number_box.setValue(3)
|
||||||
|
|
||||||
|
|
||||||
# WHEN the method is called
|
# WHEN the method is called
|
||||||
self.edit_verse_form.update_suggested_verse_number()
|
self.edit_verse_form.update_suggested_verse_number()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user