X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=test%2Ftest_youtube_sig.py;h=51b300532ddaf7b6c92c02b1844b519d4d444b8b;hb=acc47c1a3f9c44b01042f689066fbe9088e0b38d;hp=a8b1fe4dd4c40555c1ead21f1b6a4dcaf59db810;hpb=444b1165975ded5b38111c623ae6005391c13051;p=youtube-dl diff --git a/test/test_youtube_sig.py b/test/test_youtube_sig.py index a8b1fe4dd..51b300532 100644 --- a/test/test_youtube_sig.py +++ b/test/test_youtube_sig.py @@ -13,11 +13,6 @@ from helper import FakeYDL sig = YoutubeIE(FakeYDL())._decrypt_signature class TestYoutubeSig(unittest.TestCase): - def test_43_43(self): - wrong = '5AEEAE0EC39677BC65FD9021CCD115F1F2DBD5A59E4.C0B243A3E2DED6769199AF3461781E75122AE135135' - right = '931EA22157E1871643FA9519676DED253A342B0C.4E95A5DBD2F1F511DCC1209DF56CB77693CE0EAE' - self.assertEqual(sig(wrong), right) - def test_92(self): wrong = "F9F9B6E6FD47029957AB911A964CC20D95A181A5D37A2DBEFD67D403DB0E8BE4F4910053E4E8A79.0B70B.0B80B8" right = "69B6E6FD47029957AB911A9F4CC20D95A181A5D3.A2DBEFD67D403DB0E8BE4F4910053E4E8A7980B7" @@ -45,7 +40,7 @@ class TestYoutubeSig(unittest.TestCase): def test_85(self): wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$%^&*()_-+={[};?/>.<" - right = "{>/?;}[.=+-_)(*&^%$#@!MqBVCXZASDFwHJKLPOIUYTREWQ0987654321mnbvcxzasdfghjklpoiuytr" + right = "ertyuiqplkjhgfdsazx$vbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#<%^&*()_-+={[};?/c" self.assertEqual(sig(wrong), right) def test_84(self):