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

index 325b870ccc77014ca20b8e945f4d6a710a01513f..8ba531542577845f1f88dd05fc317dd54f420b23 100644 (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://тест.рф/абв?абв=абв#абв'),