[test/test_utils] Update for escape_url change (again)
authorYen Chi Hsuan <yan12125@gmail.com>
Wed, 23 Mar 2016 15:23:26 +0000 (23:23 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Wed, 23 Mar 2016 15:23:26 +0000 (23:23 +0800)
test/test_utils.py

index 8ba531542577845f1f88dd05fc317dd54f420b23..a35debfe121f5b5b7e084b6eaa1c0e8dd0fd9bea 100644 (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')