[ustream:channel] replace test for an updated channel
authorPetr Půlpán <Pulpan3@gmail.com>
Tue, 17 Jun 2014 14:03:03 +0000 (16:03 +0200)
committerPetr Půlpán <Pulpan3@gmail.com>
Tue, 17 Jun 2014 14:03:03 +0000 (16:03 +0200)
test/test_playlists.py

index 465b07b9e28e48ce9fe3b8a0a477a712b9f06940..ee91e412ab33199fd27996dba25bccb3b646387f 100644 (file)
@@ -114,10 +114,10 @@ class TestPlaylists(unittest.TestCase):
     def test_ustream_channel(self):
         dl = FakeYDL()
         ie = UstreamChannelIE(dl)
-        result = ie.extract('http://www.ustream.tv/channel/young-americans-for-liberty')
+        result = ie.extract('http://www.ustream.tv/channel/channeljapan')
         self.assertIsPlaylist(result)
-        self.assertEqual(result['id'], '5124905')
-        self.assertTrue(len(result['entries']) >= 6)
+        self.assertEqual(result['id'], '10874166')
+        self.assertTrue(len(result['entries']) >= 54)
 
     def test_soundcloud_set(self):
         dl = FakeYDL()