fix pipeline

This commit is contained in:
STEPHANVS 2022-02-16 21:14:52 +01:00
parent fec445210a
commit a78afce38b
No known key found for this signature in database
GPG Key ID: 4EFE47E471FD62A9

View File

@ -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')
# WHEN the method is called
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
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):
"""
@ -119,4 +119,4 @@ def test_on_transpose_down_button_clicked(edit_verse_form):
# WHEN the method is called
edit_verse_form.on_transpose_down_button_clicked()
# 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()