aboutsummaryrefslogtreecommitdiff
path: root/test/test_playlists.py
diff options
context:
space:
mode:
authorPetr Půlpán <Pulpan3@gmail.com>2014-06-29 13:45:10 +0200
committerPetr Půlpán <Pulpan3@gmail.com>2014-06-29 13:45:10 +0200
commit31a196d7f55d7d7676c08553474a5ec122178177 (patch)
tree60649df84215697fb7d0f4fb819b86cea76c5da2 /test/test_playlists.py
parent9b27e6c3b49175e1e9b8f809607e7fbdee4cb9ac (diff)
[TeacherTube] add user + collection, removed classrooms
Diffstat (limited to 'test/test_playlists.py')
-rw-r--r--test/test_playlists.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_playlists.py b/test/test_playlists.py
index 71dac1b02..994b1d4b0 100644
--- a/test/test_playlists.py
+++ b/test/test_playlists.py
@@ -28,7 +28,7 @@ from youtube_dl.extractor import (
SoundcloudSetIE,
SoundcloudUserIE,
SoundcloudPlaylistIE,
- TeacherTubeClassroomIE,
+ TeacherTubeUserIE,
LivestreamIE,
LivestreamOriginalIE,
NHLVideocenterIE,
@@ -379,13 +379,13 @@ class TestPlaylists(unittest.TestCase):
result['title'], 'Brace Yourself - Today\'s Weirdest News')
self.assertTrue(len(result['entries']) >= 10)
- def test_TeacherTubeClassroom(self):
+ def test_TeacherTubeUser(self):
dl = FakeYDL()
- ie = TeacherTubeClassroomIE(dl)
- result = ie.extract('http://www.teachertube.com/view_classroom.php?user=rbhagwati2')
+ ie = TeacherTubeUserIE(dl)
+ result = ie.extract('http://www.teachertube.com/user/profile/rbhagwati2')
self.assertIsPlaylist(result)
self.assertEqual(result['id'], 'rbhagwati2')
- self.assertTrue(len(result['entries']) >= 20)
+ self.assertTrue(len(result['entries']) >= 179)
if __name__ == '__main__':
unittest.main()