Mercurial > silorider
diff tests/test_silos_mastodon.py @ 30:53de06c2f97d
Fix Mastodon tests, add some logging for media attachments
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 19 Apr 2023 12:49:50 -0700 |
parents | a921cc2306bc |
children | 7965adc14569 |
line wrap: on
line diff
--- a/tests/test_silos_mastodon.py Wed Apr 19 12:48:58 2023 -0700 +++ b/tests/test_silos_mastodon.py Wed Apr 19 12:49:50 2023 -0700 @@ -110,7 +110,7 @@ feed = cli.createTempFeed(feedutil.makeFeed( """<p class="e-content">This is another link: <a href="http://example.org/blah">http://example.org/blah</a></p> -<a class="u-uri" href="/01234.html">permalink</a>""")) # NOQA +<a class="u-url" href="/01234.html">permalink</a>""")) # NOQA cli.setFeedConfig('feed', feed) ctx, _ = cli.run('process') toot = ctx.silos[0].client.toots[0] @@ -118,7 +118,7 @@ feed = cli.createTempFeed(feedutil.makeFeed( """<p class="e-content">This is yet <a href="http://example.org/blah">another link</a></p> -<a class="u-uri" href="/01234.html">permalink</a>""")) # NOQA +<a class="u-url" href="/01234.html">permalink</a>""")) # NOQA cli.setFeedConfig('feed', feed) ctx, _ = cli.run('process') toot = ctx.silos[0].client.toots[0]