mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-27 18:40:31 +00:00
Python formatting
This commit is contained in:
parent
5ed46abcee
commit
f1640399e3
1 changed files with 2 additions and 2 deletions
|
@ -462,7 +462,7 @@ http://www.fish.com/"""
|
||||||
mentions = views.status.find_mentions(self.local_user, content)
|
mentions = views.status.find_mentions(self.local_user, content)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
views.status.format_mentions(content, mentions),
|
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, *_):
|
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)
|
hashtags = views.status.find_or_create_hashtags(content)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
views.status.format_hashtags(content, hashtags),
|
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, *_):
|
def test_to_markdown(self, *_):
|
||||||
|
|
Loading…
Reference in a new issue