Skip to content

Commit

Permalink
Correct metacafe test filename (happens to start with an underscore)
Browse files Browse the repository at this point in the history
  • Loading branch information
phihag committed Dec 3, 2012
1 parent 796173d commit 4083bf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_Dailymotion(self):

@_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())
Expand Down Expand Up @@ -163,8 +163,8 @@ def tearDown(self):
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'):
Expand Down
2 changes: 1 addition & 1 deletion test/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4083bf8

Please sign in to comment.