projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5f28a1a
)
[ustream:channel] replace test for an updated channel
author
Petr Půlpán
<Pulpan3@gmail.com>
Tue, 17 Jun 2014 14:03:03 +0000
(16:03 +0200)
committer
Petr Půlpán
<Pulpan3@gmail.com>
Tue, 17 Jun 2014 14:03:03 +0000
(16:03 +0200)
test/test_playlists.py
patch
|
blob
|
history
diff --git
a/test/test_playlists.py
b/test/test_playlists.py
index 465b07b9e28e48ce9fe3b8a0a477a712b9f06940..ee91e412ab33199fd27996dba25bccb3b646387f 100644
(file)
--- 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)
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.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()
def test_soundcloud_set(self):
dl = FakeYDL()