projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
YoutubeIE: new algo for length 87 (fixes #1105)
[youtube-dl]
/
test
/
test_youtube_sig.py
diff --git
a/test/test_youtube_sig.py
b/test/test_youtube_sig.py
index 51b300532ddaf7b6c92c02b1844b519d4d444b8b..6da7c55028928796fc2e2ee1e139621ca0e63327 100644
(file)
--- a/
test/test_youtube_sig.py
+++ b/
test/test_youtube_sig.py
@@
-30,7
+30,7
@@
class TestYoutubeSig(unittest.TestCase):
def test_87(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$^&*()_-+={[]}|:;?/>.<"
def test_87(self):
wrong = "qwertyuioplkjhgfdsazxcvbnm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$^&*()_-+={[]}|:;?/>.<"
- right = "
!?;:|}][{=+-_)(*&^$#@/MNBVCXZASqFGHJKLPOIUYTREWQ0987654321mnbvcxzasdfghjklpoiuytr
"
+ right = "
tyuioplkjhgfdsazxcv<nm1234567890QWERTYUIOPLKJHGFDSAZXCVBNM!@#$^&*()_-+={[]}|:;?/>
"
self.assertEqual(sig(wrong), right)
def test_86(self):
self.assertEqual(sig(wrong), right)
def test_86(self):