1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 08:34:32 +01: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( self.assertEqual(
escape_url('http://тест.рф/фрагмент'), 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( self.assertEqual(
escape_url('http://тест.рф/абв?абв=абв#абв'), escape_url('http://тест.рф/абв?абв=абв#абв'),