瀏覽代碼

[bandcamp] Replace 404 playlist test

Sergey M․ 11 年之前
父節點
當前提交
a954584f63
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      test/test_playlists.py

+ 3 - 3
test/test_playlists.py

@@ -193,10 +193,10 @@ class TestPlaylists(unittest.TestCase):
     def test_bandcamp_album(self):
         dl = FakeYDL()
         ie = BandcampAlbumIE(dl)
-        result = ie.extract('http://mpallante.bandcamp.com/album/nightmare-night-ep')
+        result = ie.extract('http://nightbringer.bandcamp.com/album/hierophany-of-the-open-grave')
         self.assertIsPlaylist(result)
-        self.assertEqual(result['title'], 'Nightmare Night EP')
-        assertGreaterEqual(self, len(result['entries']), 4)
+        self.assertEqual(result['title'], 'Hierophany of the Open Grave')
+        assertGreaterEqual(self, len(result['entries']), 9)
         
     def test_smotri_community(self):
         dl = FakeYDL()