Просмотр исходного кода

[rottentomatoes] Modernize test definition

Philipp Hagemeister 11 лет назад
Родитель
Сommit
96aded8d3d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      youtube_dl/extractor/rottentomatoes.py

+ 2 - 1
youtube_dl/extractor/rottentomatoes.py

@@ -10,8 +10,9 @@ class RottenTomatoesIE(VideoDetectiveIE):
 
 
     _TEST = {
     _TEST = {
         'url': 'http://www.rottentomatoes.com/m/toy_story_3/trailers/11028566/',
         'url': 'http://www.rottentomatoes.com/m/toy_story_3/trailers/11028566/',
-        'file': '613340.mp4',
         'info_dict': {
         'info_dict': {
+            'id': '613340',
+            'ext': 'mp4',
             'title': 'TOY STORY 3',
             'title': 'TOY STORY 3',
             'description': 'From the creators of the beloved TOY STORY films, comes a story that will reunite the gang in a whole new way.',
             'description': 'From the creators of the beloved TOY STORY films, comes a story that will reunite the gang in a whole new way.',
         },
         },