浏览代码

[ustream:channel] replace test for an updated channel

Petr Půlpán 11 年之前
父节点
当前提交
a14e1538fe
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      test/test_playlists.py

+ 3 - 3
test/test_playlists.py

@@ -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()