From 6f5ac90cf314e8e1a7c5c416fb51e3a7b8483e9c Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 27 Jun 2013 20:46:46 +0200 Subject: Move tests to the IE definitions --- youtube_dl/extractor/youjizz.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'youtube_dl/extractor/youjizz.py') diff --git a/youtube_dl/extractor/youjizz.py b/youtube_dl/extractor/youjizz.py index d9efac76e..6f022670c 100644 --- a/youtube_dl/extractor/youjizz.py +++ b/youtube_dl/extractor/youjizz.py @@ -8,6 +8,14 @@ from ..utils import ( class YouJizzIE(InfoExtractor): _VALID_URL = r'^(?:https?://)?(?:\w+\.)?youjizz\.com/videos/(?P[^.]+).html$' + _TEST = { + u'url': u'http://www.youjizz.com/videos/zeichentrick-1-2189178.html', + u'file': u'2189178.flv', + u'md5': u'07e15fa469ba384c7693fd246905547c', + u'info_dict': { + u"title": u"Zeichentrick 1" + } + } def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) -- cgit v1.2.3