From bc4850908c710f1129273aca23daae4df015a472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Tue, 4 Feb 2014 21:56:17 +0100 Subject: [PATCH] [test/youtube_signature] Add a test with the last player MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To verify it correctly handles function with “$” in their names. --- test/test_youtube_signature.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.py index a3fc53047..8417c55a6 100644 --- a/test/test_youtube_signature.py +++ b/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', + ), ]