aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_youtube_lists.py3
-rw-r--r--test/tests.json29
2 files changed, 25 insertions, 7 deletions
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py
index 78657b51c..b842e6cc1 100644
--- a/test/test_youtube_lists.py
+++ b/test/test_youtube_lists.py
@@ -53,8 +53,7 @@ class TestYoutubeLists(unittest.TestCase):
dl = FakeDownloader()
ie = YoutubePlaylistIE(dl)
result = ie.extract('PLBB231211A4F62143')[0]
- self.assertEqual(result['title'], 'Team Fortress 2')
- self.assertTrue(len(result['entries']) > 40)
+ self.assertTrue(len(result['entries']) > 25)
def test_youtube_playlist_long(self):
dl = FakeDownloader()
diff --git a/test/tests.json b/test/tests.json
index 8a3e8e8e1..30ebd964b 100644
--- a/test/tests.json
+++ b/test/tests.json
@@ -543,11 +543,11 @@
},
{
"name": "Yahoo",
- "url": "http://screen.yahoo.com/obama-celebrates-iraq-victory-27592561.html",
- "file": "27592561.flv",
- "md5": "c6179bed843512823fd284fa2e7f012d",
+ "url": "http://screen.yahoo.com/julian-smith-travis-legg-watch-214727115.html",
+ "file": "214727115.flv",
+ "md5": "2e717f169c1be93d84d3794a00d4a325",
"info_dict": {
- "title": "Obama Celebrates Iraq Victory"
+ "title": "Julian Smith & Travis Legg Watch Julian Smith"
},
"skip": "Requires rtmpdump"
},
@@ -609,7 +609,26 @@
"file": "1v6ga.mp3",
"md5": "b9cc91b5af8995e9f0c1cee04c575828",
"info_dict":{
- "title":"TAME"
+ "title":"Tame"
}
+ },
+ {
+ "name": "Vbox7",
+ "url": "http://vbox7.com/play:249bb972c2",
+ "file": "249bb972c2.flv",
+ "md5": "9c70d6d956f888bdc08c124acc120cfe",
+ "info_dict":{
+ "title":"Смях! Чудо - чист за секунди - Скрита камера"
+ }
+ },
+ {
+ "name": "Gametrailers",
+ "url": "http://www.gametrailers.com/videos/zbvr8i/mirror-s-edge-2-e3-2013--debut-trailer",
+ "file": "zbvr8i.flv",
+ "md5": "c3edbc995ab4081976e16779bd96a878",
+ "info_dict": {
+ "title": "E3 2013: Debut Trailer"
+ },
+ "skip": "Requires rtmpdump"
}
]