diff options
| author | Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com> | 2018-11-09 23:09:08 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-11-09 12:39:08 -0500 |
| commit | a7ef4a56e0e72b3cb3aa2db7e6bb4417fced9e6f (patch) | |
| tree | 1a3e7659f50a4ecba24e8845d9e02ad8a8dd2de8 /tests/utils_tests/test_html.py | |
| parent | f62cf22c48c1aa1badffd675a360e87d5d3ddb23 (diff) | |
Fixed #29920 -- Added a test for smart_urlquote()'s UnicodeError branch.
Diffstat (limited to 'tests/utils_tests/test_html.py')
| -rw-r--r-- | tests/utils_tests/test_html.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py index 94b8f946cc..8057fdc051 100644 --- a/tests/utils_tests/test_html.py +++ b/tests/utils_tests/test_html.py @@ -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: |
