diff options
| author | Artem Mezhenin | 2014-02-13 19:39:53 +0400 |
|---|---|---|
| committer | Artem Mezhenin | 2014-02-13 19:39:53 +0400 |
| commit | 08ec23268dbb4a40000b6c4bf877f5563a4ba57b (patch) | |
| tree | 596adde1d618a21b1299452b2d51ee236a5e1751 /rest_framework | |
| parent | d00ea3bcac5d622c586b267d18aef4700657f269 (diff) | |
| download | django-rest-framework-08ec23268dbb4a40000b6c4bf877f5563a4ba57b.tar.bz2 | |
(I hope) tests are fixed, issue #1386
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/tests/test_templatetags.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rest_framework/tests/test_templatetags.py b/rest_framework/tests/test_templatetags.py index 999c718a..d4da0c23 100644 --- a/rest_framework/tests/test_templatetags.py +++ b/rest_framework/tests/test_templatetags.py @@ -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)
\ No newline at end of file + self.assertEqual(i, res) + + # example from issue #1386, this shouldn't raise an exception + _ = urlize_quoted_links("asdf:[/p]zxcv.com") |
