Correct metacafe test filename (happens to start with an underscore)
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 3 Dec 2012 19:17:47 +0000 (20:17 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 3 Dec 2012 19:17:47 +0000 (20:17 +0100)
test/test_download.py
test/tests.json

index c1f6ea556b869b8da3c5976c9457f2610bc39ec4..fd7c1860c2da0cb63092ad070b1c6ca3570d02bf 100644 (file)
@@ -67,7 +67,7 @@ class DownloadTest(unittest.TestCase):
 
     @_skip_unless(youtube_dl.InfoExtractors.MetacafeIE._WORKING, "IE marked as not _WORKING")
     def test_Metacafe(self):
-        filename = 'aUehQsCQtM.flv'
+        filename = '_aUehQsCQtM.flv'
         fd = FileDownloader(self.parameters)
         fd.add_info_extractor(youtube_dl.InfoExtractors.MetacafeIE())
         fd.add_info_extractor(youtube_dl.InfoExtractors.YoutubeIE())
@@ -163,8 +163,8 @@ class DownloadTest(unittest.TestCase):
             os.remove('BaW_jenozKc.mp4')
         if os.path.exists('x33vw9.mp4'):
             os.remove('x33vw9.mp4')
-        if os.path.exists('aUehQsCQtM.flv'):
-            os.remove('aUehQsCQtM.flv')
+        if os.path.exists('_aUehQsCQtM.flv'):
+            os.remove('_aUehQsCQtM.flv')
         if os.path.exists('5779306.m4v'):
             os.remove('5779306.m4v')
         if os.path.exists('939581.flv'):
index b830cf36f862cf81e4c764cd5f936bd29e4cef08..2c29a07b46591e12998465745a01e16a229d6b80 100644 (file)
@@ -16,7 +16,7 @@
     "size":  5754305,
     "addIEs": ["Youtube"],
     "url":  "http://www.metacafe.com/watch/yt-_aUehQsCQtM/the_electric_company_short_i_pbs_kids_go/",
-    "file":  "aUehQsCQtM.flv"
+    "file":  "_aUehQsCQtM.flv"
   },
   {
     "name": "BlipTV",