mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-11 09:45:27 +00:00
Remove duplicate test
(Test case already part of test_format_links_simple_url.)
This commit is contained in:
parent
0043329cc1
commit
17d741039c
1 changed files with 0 additions and 8 deletions
|
@ -420,14 +420,6 @@ http://www.fish.com/"""
|
|||
'okay\n\n<a href="http://www.fish.com/">www.fish.com/</a>',
|
||||
)
|
||||
|
||||
def test_format_links_parens(self, *_):
|
||||
"""find and format urls into a tags"""
|
||||
url = "http://www.fish.com/"
|
||||
self.assertEqual(
|
||||
views.status.format_links(f"({url})"),
|
||||
f'(<a href="{url}">www.fish.com/</a>)',
|
||||
)
|
||||
|
||||
def test_format_links_punctuation(self, *_):
|
||||
"""don’t take trailing punctuation into account pls"""
|
||||
url = "http://www.fish.com/"
|
||||
|
|
Loading…
Reference in a new issue