From: Sergey M․ Date: Mon, 14 Apr 2014 11:56:29 +0000 (+0700) Subject: [generic] Modernize tests X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=fd50bf623c3b3696ade7b8e1e5f4e0c283eabaaf;p=youtube-dl [generic] Modernize tests --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 761a827e6..f9b9d56d2 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -47,8 +47,9 @@ class GenericIE(InfoExtractor): { 'add_ie': ['Bandcamp'], 'url': 'http://bronyrock.com/track/the-pony-mash', - 'file': '3235767654.mp3', 'info_dict': { + 'id': '3235767654', + 'ext': 'mp3', 'title': 'The Pony Mash', 'uploader': 'M_Pallante', }, @@ -74,9 +75,10 @@ class GenericIE(InfoExtractor): { # https://github.com/rg3/youtube-dl/issues/2253 'url': 'http://bcove.me/i6nfkrc3', - 'file': '3101154703001.mp4', 'md5': '0ba9446db037002366bab3b3eb30c88c', 'info_dict': { + 'id': '3101154703001', + 'ext': 'mp4', 'title': 'Still no power', 'uploader': 'thestar.com', 'description': 'Mississauga resident David Farmer is still out of power as a result of the ice storm a month ago. To keep the house warm, Farmer cuts wood from his property for a wood burning stove downstairs.',