Python formatting

This commit is contained in:
Mouse Reeve 2023-03-29 10:12:25 -07:00
parent 5ed46abcee
commit f1640399e3

View file

@ -462,7 +462,7 @@ http://www.fish.com/"""
mentions = views.status.find_mentions(self.local_user, content)
self.assertEqual(
views.status.format_mentions(content, mentions),
'a link to https://example.com/user/@mouse',
"a link to https://example.com/user/@mouse",
)
def test_format_hashtag_with_pound_symbol_links(self, *_):
@ -471,7 +471,7 @@ http://www.fish.com/"""
hashtags = views.status.find_or_create_hashtags(content)
self.assertEqual(
views.status.format_hashtags(content, hashtags),
'a link to https://example.com/page#anchor',
"a link to https://example.com/page#anchor",
)
def test_to_markdown(self, *_):