浏览代码

[toutv] Modernize test definition

Philipp Hagemeister 10 年之前
父节点
当前提交
057c0609fc
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      youtube_dl/extractor/toutv.py

+ 2 - 1
youtube_dl/extractor/toutv.py

@@ -16,8 +16,9 @@ class TouTvIE(InfoExtractor):
 
 
     _TEST = {
     _TEST = {
         'url': 'http://www.tou.tv/30-vies/S04E41',
         'url': 'http://www.tou.tv/30-vies/S04E41',
-        'file': '30-vies_S04E41.mp4',
         'info_dict': {
         'info_dict': {
+            'id': '30-vies_S04E41',
+            'ext': 'mp4',
             'title': '30 vies Saison 4 / Épisode 41',
             'title': '30 vies Saison 4 / Épisode 41',
             'description': 'md5:da363002db82ccbe4dafeb9cab039b09',
             'description': 'md5:da363002db82ccbe4dafeb9cab039b09',
             'age_limit': 8,
             'age_limit': 8,