projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4333d56
)
[test/test_utils] Update for escape_url change
author
Yen Chi Hsuan
<yan12125@gmail.com>
Wed, 23 Mar 2016 15:20:28 +0000
(23:20 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Wed, 23 Mar 2016 15:20:28 +0000
(23:20 +0800)
test/test_utils.py
patch
|
blob
|
history
diff --git
a/test/test_utils.py
b/test/test_utils.py
index 325b870ccc77014ca20b8e945f4d6a710a01513f..8ba531542577845f1f88dd05fc317dd54f420b23 100644
(file)
--- a/
test/test_utils.py
+++ b/
test/test_utils.py
@@
-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://тест.рф/абв?абв=абв#абв'),