forked from openlp/openlp
Fix more tests
This commit is contained in:
parent
58fef7596d
commit
638b5722f5
@ -122,7 +122,7 @@ def test_render_chords_with_special_chars(settings):
|
|||||||
text_with_rendered_chords = render_tags(text_with_chords, can_render_chords=True)
|
text_with_rendered_chords = render_tags(text_with_chords, can_render_chords=True)
|
||||||
|
|
||||||
# THEN: We should get html that looks like below
|
# THEN: We should get html that looks like below
|
||||||
expected_html = '<span class="chordline firstchordline">I<span class="chord"><span><strong>D</strong></span>' \
|
expected_html = '<span class="chordline">I<span class="chord"><span><strong>D</strong></span>' \
|
||||||
'</span>'M NOT MOVED BY WHAT I SEE HALLE<span class="chord"><span><strong>F</strong>' \
|
'</span>'M NOT MOVED BY WHAT I SEE HALLE<span class="chord"><span><strong>F</strong>' \
|
||||||
'</span></span>LUJA<span class="chord"><span><strong>C</strong></span></span>H</span>'
|
'</span></span>LUJA<span class="chord"><span><strong>C</strong></span></span>H</span>'
|
||||||
assert text_with_rendered_chords == expected_html, 'The rendered chords should look as expected'
|
assert text_with_rendered_chords == expected_html, 'The rendered chords should look as expected'
|
||||||
|
Loading…
Reference in New Issue
Block a user