Fix more tests

This commit is contained in:
STEPHANVS 2021-07-04 18:18:06 +02:00
parent f41f8a72c1
commit 9f5dce42bd
No known key found for this signature in database
GPG Key ID: 4EFE47E471FD62A9

View File

@ -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)
# 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>&#x27;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>'
assert text_with_rendered_chords == expected_html, 'The rendered chords should look as expected'