diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-12-07 01:34:40 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-12-07 01:34:40 +0100 |
commit | 863baa16eca7a98c38fb29c5e54f76df224f2351 (patch) | |
tree | 805cd4bece3d74ccc4587ce0291feed1edf4e868 /test | |
parent | c7214f9a6fd5fb86668b71cbd44187e1babd26a9 (diff) | |
download | youtube-dl-863baa16eca7a98c38fb29c5e54f76df224f2351.zip youtube-dl-863baa16eca7a98c38fb29c5e54f76df224f2351.tar.gz youtube-dl-863baa16eca7a98c38fb29c5e54f76df224f2351.tar.bz2 |
SoundCloud IDs have changed, fix tests
Diffstat (limited to 'test')
-rw-r--r-- | test/test_download.py | 6 | ||||
-rw-r--r-- | test/tests.json | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/test_download.py b/test/test_download.py index fd7c186..6926dd0 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -108,7 +108,7 @@ class DownloadTest(unittest.TestCase): @_skip_unless(youtube_dl.InfoExtractors.SoundcloudIE._WORKING, "IE marked as not _WORKING") def test_Soundcloud(self): - filename = 'n6FLbx6ZzMiu.mp3' + filename = '62986583.mp3' fd = FileDownloader(self.parameters) fd.add_info_extractor(youtube_dl.InfoExtractors.SoundcloudIE()) fd.download(['http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy']) @@ -170,8 +170,8 @@ class DownloadTest(unittest.TestCase): if os.path.exists('939581.flv'): os.remove('939581.flv') # No file specified for Vimeo - if os.path.exists('n6FLbx6ZzMiu.mp3'): - os.remove('n6FLbx6ZzMiu.mp3') + if os.path.exists('62986583.mp3'): + os.remove('62986583.mp3') if os.path.exists('PracticalUnix_intro-environment.mp4'): os.remove('PracticalUnix_intro-environment.mp4') # No file specified for CollegeHumor diff --git a/test/tests.json b/test/tests.json index 2c29a07..cb29f20 100644 --- a/test/tests.json +++ b/test/tests.json @@ -40,7 +40,7 @@ "name": "Soundcloud", "md5": "c1b9b9ea8bfd620b96b2628664576e1c", "url": "http://soundcloud.com/ethmusic/lostin-powers-she-so-heavy", - "file": "n6FLbx6ZzMiu.mp3" + "file": "62986583.mp3" }, { "name": "StanfordOpenClassroom", @@ -66,4 +66,4 @@ "file": "XNDgyMDQ2NTQw_part00.flv", "md5": "ffe3f2e435663dc2d1eea34faeff5b5b" } -]
\ No newline at end of file +] |