Remove duplicate test

(Test case already part of test_format_links_simple_url.)
This commit is contained in:
Adeodato Simó 2023-10-09 21:33:35 -03:00
parent 0043329cc1
commit 17d741039c
No known key found for this signature in database
GPG key ID: CDF447845F1A986F

View file

@ -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, *_):
"""dont take trailing punctuation into account pls"""
url = "http://www.fish.com/"