Forráskód Böngészése

[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 éve
szülő
commit
bc4850908c
1 módosított fájl, 6 hozzáadás és 0 törlés
  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',
+    ),
 ]