mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-20 12:24:57 +00:00
[generic] Use a different URL for the generic RSS test (Closes #2532)
This commit is contained in:
parent
855e2750bc
commit
6a72423955
@ -254,9 +254,9 @@ class TestPlaylists(unittest.TestCase):
|
|||||||
def test_generic_rss_feed(self):
|
def test_generic_rss_feed(self):
|
||||||
dl = FakeYDL()
|
dl = FakeYDL()
|
||||||
ie = GenericIE(dl)
|
ie = GenericIE(dl)
|
||||||
result = ie.extract('http://www.escapistmagazine.com/rss/videos/list/1.xml')
|
result = ie.extract('http://phihag.de/2014/youtube-dl/rss.xml')
|
||||||
self.assertIsPlaylist(result)
|
self.assertIsPlaylist(result)
|
||||||
self.assertEqual(result['id'], 'http://www.escapistmagazine.com/rss/videos/list/1.xml')
|
self.assertEqual(result['id'], 'http://phihag.de/2014/youtube-dl/rss.xml')
|
||||||
self.assertEqual(result['title'], 'Zero Punctuation')
|
self.assertEqual(result['title'], 'Zero Punctuation')
|
||||||
self.assertTrue(len(result['entries']) > 10)
|
self.assertTrue(len(result['entries']) > 10)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user