[youtube:truncated_url] Move test to extractor
[youtube-dl] / youtube_dl / extractor / youtube.py
index ec3024cbd9b83d515ca8fb3a07587f1d530769a6..bf0fbc924be8e9355569acd5426f639523aacdb1 100644 (file)
@@ -1835,6 +1835,9 @@ class YoutubeTruncatedURLIE(InfoExtractor):
     _TESTS = [{
         'url': 'http://www.youtube.com/watch?annotation_id=annotation_3951667041',
         'only_matching': True,
+    }, {
+        'url': 'http://www.youtube.com/watch?',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):