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

[test/test_utils] Update for escape_url change

This commit is contained in:
Yen Chi Hsuan 2016-03-23 23:20:28 +08:00
parent 4333d56494
commit 2d60465e44

View File

@ -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://тест.рф/абв?абв=абв#абв'),