Browse Source

[test/youtube_signature] Add a test with the last player

To verify it correctly handles function with “$” in their names.
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
bc4850908c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      test/test_youtube_signature.py

+ 6 - 0
test/test_youtube_signature.py

@@ -27,6 +27,12 @@ _TESTS = [
         85,
         u'3456789a0cdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRS[UVWXYZ!"#$%&\'()*+,-./:;<=>?@',
     ),
+    (
+        u'https://s.ytimg.com/yts/jsbin/html5player-vfle-mVwz.js',
+        u'js',
+        90,
+        u']\\[@?>=<;:/.-,+*)(\'&%$#"hZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjiagfedcb39876',
+    ),
 ]