commit: a14e1538fe66c49ca8869681d2bbe60a36bd420d
parent 5f28a1acad2f0703b4e3c345ed934202e456790d
Author: Petr Půlpán <Pulpan3@gmail.com>
Date: Tue, 17 Jun 2014 16:03:03 +0200
[ustream:channel] replace test for an updated channel
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/test_playlists.py b/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()