aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-07-25 22:06:53 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-07-25 22:06:53 +0200
commitaedd6bb97de7ed82da746892e2a0b32ee9c6d6b8 (patch)
tree0612d7b9c79f07cd77495ca3f41405c0b53edc2d /test
parent733d9cacb859f3d3571ab68607d46c722454a32c (diff)
YoutubeIE: new algo for length 81 (fixes #1127)
Diffstat (limited to 'test')
-rw-r--r--test/test_youtube_sig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_youtube_sig.py b/test/test_youtube_sig.py
index 6da7c5502..4e50d6f90 100644
--- 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!@#$%^&*(-+={[};?/>."
- right = "urty8ioplkjhgfdsazxcvbqm1234567e90QWERTYUIOPLKHGFDSnZXCVBNM!@#$%^&*(-+={[};?/>."
+ right = "C>/?;}[{=+-(*&^%$#@!MNBVYXZASDFGHKLPOIU.TREWQ0q87659321mnbvcxzasdfghjkl4oiuytrewp"
self.assertEqual(sig(wrong), right)
if __name__ == '__main__':