|
|
@ -577,7 +577,7 @@ class TestUtil(unittest.TestCase): |
|
|
|
) |
|
|
|
self.assertEqual( |
|
|
|
escape_url('http://тест.рф/фрагмент'), |
|
|
|
'http://тест.рф/%D1%84%D1%80%D0%B0%D0%B3%D0%BC%D0%B5%D0%BD%D1%82' |
|
|
|
'http://xn--e1aybc.xn--p1ai/%D1%84%D1%80%D0%B0%D0%B3%D0%BC%D0%B5%D0%BD%D1%82' |
|
|
|
) |
|
|
|
self.assertEqual( |
|
|
|
escape_url('http://тест.рф/абв?абв=абв#абв'), |
|
|
|