diff options
author | Filippo Valsorda <[email protected]> | 2013-06-27 12:24:46 +0200 |
---|---|---|
committer | Filippo Valsorda <[email protected]> | 2013-06-27 12:24:46 +0200 |
commit | 23300d71493a72e51053efbf5fbdb9fef0544336 (patch) | |
tree | a8bf5a2fff63db60202e10096568880918ddcdb0 /test | |
parent | f5756f388aa30cf4b29b93c05f000696be10f701 (diff) | |
download | youtube-dl-23300d71493a72e51053efbf5fbdb9fef0544336.tar.gz youtube-dl-23300d71493a72e51053efbf5fbdb9fef0544336.zip |
a new day, a new s algo - fix #946
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_youtube_sig.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/test_youtube_sig.py b/test/test_youtube_sig.py index 5f23fabab..e87b6259b 100755 --- a/test/test_youtube_sig.py +++ b/test/test_youtube_sig.py @@ -22,32 +22,32 @@ class TestYoutubeSig(unittest.TestCase): wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[]}|:;?/>.<" right = "J:|}][{=+-_)(*&;%$#@>MNBVCXZASDFGH^KLPOIUYTREWQ0987654321mnbvcxzasdfghrklpoiuytej" self.assertEqual(sig(wrong), right) - + def test_87(self): wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$^&*()_-+={[]}|:;?/>.<" right = "!?;:|}][{=+-_)(*&^$#@/MNBVCXZASqFGHJKLPOIUYTREWQ0987654321mnbvcxzasdfghjklpoiuytr" self.assertEqual(sig(wrong), right) - + def test_86(self): wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[|};?/>.<" - right = "ertyuioplkjhgfdqazxcvbnm1234567890QWERT}UIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[|/;?Y" + right = "ertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!/#$%^&*()_-+={[|};?@" self.assertEqual(sig(wrong), right) - + def test_85(self): wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[};?/>.<" right = "{>/?;}[.=+-_)(*&^%$#@!MqBVCXZASDFwHJKLPOIUYTREWQ0987654321mnbvcxzasdfghjklpoiuytr" self.assertEqual(sig(wrong), right) - + def test_84(self): wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[};?>.<" right = "<.>?;}[{=+-_)(*&^%$#@!MNBVCXZASDFGHJKLPOIUYTREWe098765432rmnbvcxzasdfghjklpoiuyt1" self.assertEqual(sig(wrong), right) - + def test_83(self): wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!#$%^&*()_+={[};?/>.<" right = "D.>/?;}[{=+_)(*&^%$#!MNBVCXeAS<FGHJKLPOIUYTREWZ0987654321mnbvcxzasdfghjklpoiuytrQ" self.assertEqual(sig(wrong), right) - + def test_82(self): wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKHGFDSAZXCVBNM!@#$%^&*(-+={[};?/>.<" right = "Q>/?;}[{=+-(*<^%$#@!MNBVCXZASDFGHKLPOIUY8REWT0q&7654321mnbvcxzasdfghjklpoiuytrew9" |