diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-07-17 09:23:38 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-07-17 09:23:38 +0200 |
commit | 2a5201638d54e987bdfb9037e94b54c36e2a4ecc (patch) | |
tree | 847958c47756df51a0ebaac2f312f78b2044bc90 /test | |
parent | ec00e1d8a01dafe8efafe554668c930bf4683f82 (diff) |
[youtube] Add sig test for 92 (Thanks to @patrickslin)
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_youtube_sig.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_youtube_sig.py b/test/test_youtube_sig.py index bbeb3e2fb..b8e51f479 100755 --- a/test/test_youtube_sig.py +++ b/test/test_youtube_sig.py @@ -58,5 +58,10 @@ class TestYoutubeSig(unittest.TestCase): right = "urty8ioplkjhgfdsazxcvbqm1234567e90QWERTYUIOPLKHGFDSnZXCVBNM!@#$%^&*(-+={[};?/>." self.assertEqual(sig(wrong), right) + def test_92(self): + wrong = "F9F9B6E6FD47029957AB911A964CC20D95A181A5D37A2DBEFD67D403DB0E8BE4F4910053E4E8A79.0B70B.0B80B8" + right = "69B6E6FD47029957AB911A9F4CC20D95A181A5D3.A2DBEFD67D403DB0E8BE4F4910053E4E8A7980B7" + self.assertEqual(sig(wrong), right) + if __name__ == '__main__': unittest.main() |