forked from openlp/openlp
fix pipeline
This commit is contained in:
parent
fec445210a
commit
a78afce38b
@ -105,10 +105,10 @@ def test_on_transpose_up_button_clicked(mocked_show_key_warning, edit_verse_form
|
|||||||
edit_verse_form.verse_text_edit.setPlainText('Am[G]azing gr[G/B]ace, how sw[C]eet the s[G]ound')
|
edit_verse_form.verse_text_edit.setPlainText('Am[G]azing gr[G/B]ace, how sw[C]eet the s[G]ound')
|
||||||
# WHEN the method is called
|
# WHEN the method is called
|
||||||
edit_verse_form.on_transpose_up_button_clicked()
|
edit_verse_form.on_transpose_up_button_clicked()
|
||||||
mocked_show_key_warning.assert_called_once_with(edit_verse_form)
|
mocked_show_key_warning.assert_called_once_with(edit_verse_form)
|
||||||
# THEN chords should be transposed up
|
# THEN chords should be transposed up
|
||||||
assert 'Am[Ab]azing gr[Ab/C]ace, how sw[C#]eet the s[Ab]ound' == edit_verse_form.verse_text_edit.toPlainText()
|
assert 'Am[Ab]azing gr[Ab/C]ace, how sw[C#]eet the s[Ab]ound' == edit_verse_form.verse_text_edit.toPlainText()
|
||||||
|
|
||||||
|
|
||||||
def test_on_transpose_down_button_clicked(edit_verse_form):
|
def test_on_transpose_down_button_clicked(edit_verse_form):
|
||||||
"""
|
"""
|
||||||
@ -119,4 +119,4 @@ def test_on_transpose_down_button_clicked(edit_verse_form):
|
|||||||
# WHEN the method is called
|
# WHEN the method is called
|
||||||
edit_verse_form.on_transpose_down_button_clicked()
|
edit_verse_form.on_transpose_down_button_clicked()
|
||||||
# THEN chords should be transposed up
|
# THEN chords should be transposed up
|
||||||
assert '[=F#]Am[F#]azing gr[F#/A#]ace, how sw[B]eet the s[F#]ound' == edit_verse_form.verse_text_edit.toPlainText()
|
assert '[=F#]Am[F#]azing gr[F#/A#]ace, how sw[B]eet the s[F#]ound' == edit_verse_form.verse_text_edit.toPlainText()
|
||||||
|
Loading…
Reference in New Issue
Block a user