From: rzhxeo Date: Sun, 17 Nov 2013 16:43:58 +0000 (+0100) Subject: [SouthParkStudiosIE] Move from _TEST to _TESTS X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1672647ade97e070fa67eeff68370910ae715573;p=youtube-dl [SouthParkStudiosIE] Move from _TEST to _TESTS --- diff --git a/youtube_dl/extractor/southparkstudios.py b/youtube_dl/extractor/southparkstudios.py index bb0c4b393..a75e328a7 100644 --- a/youtube_dl/extractor/southparkstudios.py +++ b/youtube_dl/extractor/southparkstudios.py @@ -9,17 +9,15 @@ class SouthParkStudiosIE(MTVIE): _FEED_URL = 'http://www.southparkstudios.com/feeds/video-player/mrss' - _TEST = { + # Overwrite MTVIE properties we don't want + _TESTS = [{ u'url': u'http://www.southparkstudios.com/clips/104437/bat-daded#tab=featured', u'file': u'a7bff6c2-ed00-11e0-aca6-0026b9414f30.mp4', u'info_dict': { u'title': u'Bat Daded', u'description': u'Randy disqualifies South Park by getting into a fight with Bat Dad.', }, - } - - # Overwrite MTVIE properties we don't want - _TESTS = [] + }] def _get_thumbnail_url(self, uri, itemdoc): search_path = '%s/%s' % (_media_xml_tag('group'), _media_xml_tag('thumbnail'))