Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Jul 27, 2016
1 parent 75ad24b commit 300c71c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onegov/town/tests/test_utils.py
Expand Up @@ -4,12 +4,12 @@
def test_annotate_html():
html = "<p><img/></p><p></p>"
assert utils.annotate_html(html) == (
'<p class="has-img"><img class="lazyload" src=""></p><p></p>'
'<p class="has-img"><img class="lazyload-alt"></p><p></p>'
)

html = "<p class='x'><img/></p><p></p>"
assert utils.annotate_html(html) == (
'<p class="x has-img"><img class="lazyload" src=""></p><p></p>'
'<p class="x has-img"><img class="lazyload-alt"></p><p></p>'
)

html = "<strong></strong>"
Expand Down

0 comments on commit 300c71c

Please sign in to comment.