瀏覽代碼

Disable way and tf1 tests, the whole videos are served sometimes, so the md5 sum doesn't match.

Jaime Marquínez Ferrándiz 12 年之前
父節點
當前提交
fa80026915
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 2 1
      youtube_dl/extractor/tf1.py
  2. 2 2
      youtube_dl/extractor/wat.py

+ 2 - 1
youtube_dl/extractor/tf1.py

@@ -15,7 +15,8 @@ class TF1IE(InfoExtractor):
         u'info_dict': {
         u'info_dict': {
             u'title': u'Citroën Grand C4 Picasso 2013 : présentation officielle',
             u'title': u'Citroën Grand C4 Picasso 2013 : présentation officielle',
             u'description': u'Vidéo officielle du nouveau Citroën Grand C4 Picasso, lancé à l\'automne 2013.',
             u'description': u'Vidéo officielle du nouveau Citroën Grand C4 Picasso, lancé à l\'automne 2013.',
-        }
+        },
+        u'skip': u'Sometimes wat serves the whole file with the --test option',
     }
     }
 
 
     def _real_extract(self, url):
     def _real_extract(self, url):

+ 2 - 2
youtube_dl/extractor/wat.py

@@ -17,12 +17,12 @@ class WatIE(InfoExtractor):
     _TEST = {
     _TEST = {
         u'url': u'http://www.wat.tv/video/world-war-philadelphia-vost-6bv55_2fjr7_.html',
         u'url': u'http://www.wat.tv/video/world-war-philadelphia-vost-6bv55_2fjr7_.html',
         u'file': u'10631273.mp4',
         u'file': u'10631273.mp4',
-        # Sometimes wat serves the whole file with the --test option
         u'md5': u'd8b2231e1e333acd12aad94b80937e19',
         u'md5': u'd8b2231e1e333acd12aad94b80937e19',
         u'info_dict': {
         u'info_dict': {
             u'title': u'World War Z - Philadelphia VOST',
             u'title': u'World War Z - Philadelphia VOST',
             u'description': u'La menace est partout. Que se passe-t-il à Philadelphia ?\r\nWORLD WAR Z, avec Brad Pitt, au cinéma le 3 juillet.\r\nhttp://www.worldwarz.fr',
             u'description': u'La menace est partout. Que se passe-t-il à Philadelphia ?\r\nWORLD WAR Z, avec Brad Pitt, au cinéma le 3 juillet.\r\nhttp://www.worldwarz.fr',
-        }
+        },
+        u'skip': u'Sometimes wat serves the whole file with the --test option',
     }
     }
     
     
     def download_video_info(self, real_id):
     def download_video_info(self, real_id):