1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 19:22:53 +08:00

[test/test_utils] Update for escape_url change (again)

This commit is contained in:
Yen Chi Hsuan 2016-03-23 23:23:26 +08:00
parent 2d60465e44
commit 81f36eba88

View File

@ -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')