[youtube]: new algo for length 83 (fixes #1164)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-08-02 12:38:17 +02:00
parent 03cc7c20c1
commit 04bca64bde
3 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ class TestYoutubeSig(unittest.TestCase):
def test_83(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!#$%^&*()_+={[};?/>.<"
right = "urty8ioplkjhgfdsazxcvbqm1234567S90QWERTYUIOPLKJHGFDnAZXCVBNM!#$%^&*()_+={[};?/>.<"
right = "qwertyuioplkjhg>dsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!#$%^&*()_+={[};?/f"
self.assertEqual(sig(wrong), right)
def test_82(self):