update test to match granary new whitespace handling

...again. specifically snarfed/granary@0ac54362ae
pull/59/head
Ryan Barrett 2019-09-19 07:56:14 -07:00
rodzic 9ff0a28dd3
commit 7617d4893e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -728,7 +728,7 @@ class WebmentionTest(testutil.TestCase):
'ref': 'tag:fed.brid.gy,2017-08-22:orig-post'
}, entry['thr_in-reply-to'])
self.assertEquals(
'<div style="white-space: pre;"><a class="u-in-reply-to" href="http://orig/post">foo ☕ bar</a>\n<a href="http://localhost/"></a></div>',
'<a class="u-in-reply-to" href="http://orig/post">foo ☕ bar</a><br />\n<a href="http://localhost/"></a>',
entry.content[0]['value'])
resp = Response.get_by_id('http://a/reply http://orig/post')