def test_bandcamp_album(self): dl = FakeYDL() ie = BandcampAlbumIE(dl) result = ie.extract('http://mpallante.bandcamp.com/album/nightmare-night-ep') self.assertIsPlaylist(result) self.assertEqual(result['title'], u'Nightmare Night EP') self.assertTrue(len(result['entries']) >= 4)
def test_bandcamp_album(self): dl = FakeYDL() ie = BandcampAlbumIE(dl) result = ie.extract('http://nightbringer.bandcamp.com/album/hierophany-of-the-open-grave') self.assertIsPlaylist(result) self.assertEqual(result['title'], 'Hierophany of the Open Grave') assertGreaterEqual(self, len(result['entries']), 9)
def test_bandcamp_album(self): dl = FakeYDL() ie = BandcampAlbumIE(dl) result = ie.extract("http://mpallante.bandcamp.com/album/nightmare-night-ep") self.assertIsPlaylist(result) self.assertEqual(result["title"], "Nightmare Night EP") self.assertTrue(len(result["entries"]) >= 4)
def test_bandcamp_album(self): dl = FakeYDL() ie = BandcampAlbumIE(dl) result = ie.extract( 'http://mpallante.bandcamp.com/album/nightmare-night-ep') self.assertIsPlaylist(result) self.assertEqual(result['title'], 'Nightmare Night EP') assertGreaterEqual(self, len(result['entries']), 4)