aboutsummaryrefslogtreecommitdiff
path: root/test/test_playlists.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_playlists.py')
-rw-r--r--test/test_playlists.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_playlists.py b/test/test_playlists.py
index 4f188345b..3f79a7d6a 100644
--- a/test/test_playlists.py
+++ b/test/test_playlists.py
@@ -1,6 +1,17 @@
#!/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
@@ -51,6 +62,7 @@ from youtube_dl.extractor import (
InstagramUserIE,
CSpanIE,
AolIE,
+ GameOnePlaylistIE,
)
@@ -396,5 +408,6 @@ class TestPlaylists(unittest.TestCase):
self.assertEqual(result['id'], 'rbhagwati2')
assertGreaterEqual(self, len(result['entries']), 179)
+
if __name__ == '__main__':
unittest.main()