|
|
@ -581,7 +581,7 @@ class TestUtil(unittest.TestCase): |
|
|
|
) |
|
|
|
self.assertEqual( |
|
|
|
escape_url('http://тест.рф/абв?абв=абв#абв'), |
|
|
|
'http://тест.рф/%D0%B0%D0%B1%D0%B2?%D0%B0%D0%B1%D0%B2=%D0%B0%D0%B1%D0%B2#%D0%B0%D0%B1%D0%B2' |
|
|
|
'http://xn--e1aybc.xn--p1ai/%D0%B0%D0%B1%D0%B2?%D0%B0%D0%B1%D0%B2=%D0%B0%D0%B1%D0%B2#%D0%B0%D0%B1%D0%B2' |
|
|
|
) |
|
|
|
self.assertEqual(escape_url('http://vimeo.com/56015672#at=0'), 'http://vimeo.com/56015672#at=0') |
|
|
|
|
|
|
|