(I hope) tests are fixed, issue #1386

This commit is contained in:
Artem Mezhenin 2014-02-13 19:39:53 +04:00
parent d00ea3bcac
commit 08ec23268d

View File

@ -42,8 +42,10 @@ class Issue1386Tests(TestCase):
incorrect_urls = [
"mailto://asdf@fdf.com",
"asdf.netnet",
"asdf:[/p]zxcv.com", # example from issue #1386
]
for i in incorrect_urls:
res = urlize_quoted_links(i)
self.assertEqual(i, res)
self.assertEqual(i, res)
# example from issue #1386, this shouldn't raise an exception
_ = urlize_quoted_links("asdf:[/p]zxcv.com")