Commit 08ec2326 by Artem Mezhenin

(I hope) tests are fixed, issue #1386

parent d00ea3bc
......@@ -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)
# example from issue #1386, this shouldn't raise an exception
_ = urlize_quoted_links("asdf:[/p]zxcv.com")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment