summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-12-03 20:17:47 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-12-03 20:17:47 +0100
commit4083bf81a01f2e580f84f5db0274dd5585705ad6 (patch)
treee53e4cdbb05f7f6e6436f298b8e95bb2771eb30d
parent796173d08b514182eedc704541eb55d5c9e1dc0d (diff)
downloadyoutube-dl-4083bf81a01f2e580f84f5db0274dd5585705ad6.tar.gz
youtube-dl-4083bf81a01f2e580f84f5db0274dd5585705ad6.tar.xz
youtube-dl-4083bf81a01f2e580f84f5db0274dd5585705ad6.zip
Correct metacafe test filename (happens to start with an underscore)
-rw-r--r--test/test_download.py6
-rw-r--r--test/tests.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test_download.py b/test/test_download.py
index c1f6ea556..fd7c1860c 100644
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -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'):
diff --git a/test/tests.json b/test/tests.json
index b830cf36f..2c29a07b4 100644
--- a/test/tests.json
+++ b/test/tests.json
@@ -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",