From 5732df0137708a5e7e0ecbcafdba3451c578781f Mon Sep 17 00:00:00 2001 From: Mort Yao Date: Thu, 28 Feb 2013 21:46:31 +0100 Subject: [PATCH] add test case for YouTube --- tests/test.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test.py b/tests/test.py index 62c6afd6..49cc6950 100644 --- a/tests/test.py +++ b/tests/test.py @@ -14,6 +14,13 @@ class YouGetTests(unittest.TestCase): ]: url_to_module(url).download(url, info_only = True) + def test_youtube(self): + for url in [ + "http://www.youtube.com/watch?v=pzKerr0JIPA", + "http://youtu.be/pzKerr0JIPA", + ]: + url_to_module(url).download(url, info_only = True) + def test_googleplus(self): for url in [ "http://plus.google.com/102663035987142737445/posts/jJRu43KQFT5",