Skip to content

Commit

Permalink
update tests to expect better whitespace handling in next mf2py release
Browse files Browse the repository at this point in the history
for #142
  • Loading branch information
snarfed committed Jul 18, 2018
1 parent a989c3e commit d866971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion granary/test/test_atom.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def test_html_to_atom(self):
""", atom.html_to_atom("""\
<div class="h-feed">
<div class="p-author h-card">
<a href="http://my/site">My Name</a>
<a class="p-name" href="http://my/site">My Name</a>
<img src="http://my/picture" />
</div>
Expand Down
3 changes: 1 addition & 2 deletions granary/test/test_microformats2.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def test_find_author(self):
}, microformats2.find_author(mf2py.parse(doc="""\
<body class="h-entry">
<div class="p-author h-card">
<a href="http://li/nk">my name</a>
<a class="p-name" href="http://li/nk">my name</a>
<img class="u-photo" src="http://pic/ture" />
</div>
</body>
Expand Down Expand Up @@ -820,7 +820,6 @@ def test_combined_reply_and_tag_of_error(self):
}
})


def test_html_to_activities_brs_to_newlines(self):
"""Mostly tests that mf2py converts <br>s to \ns.
Expand Down

0 comments on commit d866971

Please sign in to comment.