mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-26 01:50:34 +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)
|
||||
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, *_):
|
||||
|
|
Loading…
Reference in a new issue