projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
YoutubeIE: new algo for length 85 (closes #1080), thanks to @patrickslin
[youtube-dl]
/
test
/
test_youtube_sig.py
diff --git
a/test/test_youtube_sig.py
b/test/test_youtube_sig.py
index 817ca148c5b79a2b17d2cadcc34c6c00d5444664..51b300532ddaf7b6c92c02b1844b519d4d444b8b 100644
(file)
--- a/
test/test_youtube_sig.py
+++ b/
test/test_youtube_sig.py
@@
-40,7
+40,7
@@
class TestYoutubeSig(unittest.TestCase):
def test_85(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[};?/>.<"
def test_85(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[};?/>.<"
- right = "
{>/?;}[.=+-_)(*&^%$#@!MqBVCXZASDFwHJKLPOIUYTREWQ0987654321mnbvcxzasdfghjklpoiuytr
"
+ right = "
ertyuiqplkjhgfdsazx$vbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#<%^&*()_-+={[};?/c
"
self.assertEqual(sig(wrong), right)
def test_84(self):
self.assertEqual(sig(wrong), right)
def test_84(self):