#!/usr/bin/env python
# encoding: utf-8
+## DEPRECATED FILE!
+# Add new tests to the extractors themselves, like this:
+# _TEST = {
+# 'url': 'http://example.com/playlist/42',
+# 'playlist_mincount': 99,
+# 'info_dict': {
+# 'id': '42',
+# 'title': 'Playlist number forty-two',
+# }
+# }
+
from __future__ import unicode_literals
# Allow direct execution
InstagramUserIE,
CSpanIE,
AolIE,
+ GameOnePlaylistIE,
)
self.assertEqual(result['id'], 'rbhagwati2')
assertGreaterEqual(self, len(result['entries']), 179)
+ def test_GameOne_playlist(self):
+ dl = FakeYDL()
+ ie = GameOnePlaylistIE(dl)
+ result = ie.extract('http://www.gameone.de/tv')
+ self.assertIsPlaylist(result)
+ self.assertEqual(result['title'], 'GameOne')
+ assertGreaterEqual(self, len(result['entries']), 294)
+
if __name__ == '__main__':
unittest.main()