mirror of https://github.com/django/django.git
Fixed #29920 -- Added a test for smart_urlquote()'s UnicodeError branch.
This commit is contained in:
parent
f62cf22c48
commit
a7ef4a56e0
|
@ -183,6 +183,7 @@ class TestUtilsHtml(SimpleTestCase):
|
|||
'http://example.com/?q=http%3A%2F%2Fexample.com%2F%3Fx%3D1%26q%3Ddjango'),
|
||||
('http://example.com/?q=http%3A%2F%2Fexample.com%2F%3Fx%3D1%26q%3Ddjango',
|
||||
'http://example.com/?q=http%3A%2F%2Fexample.com%2F%3Fx%3D1%26q%3Ddjango'),
|
||||
('http://.www.f oo.bar/', 'http://.www.f%20oo.bar/'),
|
||||
)
|
||||
# IDNs are properly quoted
|
||||
for value, output in items:
|
||||
|
|
Loading…
Reference in New Issue