Browse Source

[generic] Use a different URL for the generic RSS test (Closes #2532)

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
6a72423955
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/test_playlists.py

+ 2
- 2
test/test_playlists.py View File

@ -254,9 +254,9 @@ class TestPlaylists(unittest.TestCase):
def test_generic_rss_feed(self):
dl = FakeYDL()
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.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.assertTrue(len(result['entries']) > 10)


Loading…
Cancel
Save