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 81 (fixes #1127)
[youtube-dl]
/
test
/
test_youtube_sig.py
diff --git
a/test/test_youtube_sig.py
b/test/test_youtube_sig.py
index 6da7c55028928796fc2e2ee1e139621ca0e63327..4e50d6f9010feae5f5a08c58aa9af27a55cfb945 100644
(file)
--- a/
test/test_youtube_sig.py
+++ b/
test/test_youtube_sig.py
@@
-60,7
+60,7
@@
class TestYoutubeSig(unittest.TestCase):
def test_81(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKHGFDSAZXCVBNM!@#$%^&*(-+={[};?/>."
def test_81(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKHGFDSAZXCVBNM!@#$%^&*(-+={[};?/>."
- right = "
urty8ioplkjhgfdsazxcvbqm1234567e90QWERTYUIOPLKHGFDSnZXCVBNM!@#$%^&*(-+={[};?/>.
"
+ right = "
C>/?;}[{=+-(*&^%$#@!MNBVYXZASDFGHKLPOIU.TREWQ0q87659321mnbvcxzasdfghjkl4oiuytrewp
"
self.assertEqual(sig(wrong), right)
if __name__ == '__main__':
self.assertEqual(sig(wrong), right)
if __name__ == '__main__':