mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:47:08 -05:00 
			
		
		
		
	[ustream:channel] replace test for an updated channel
This commit is contained in:
		@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user