aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vine.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-08-28 00:58:24 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-08-28 00:58:24 +0200
commit22a6f15061127045f4d6ae1ff4efc922fa372cc2 (patch)
treef0df2ab32f301b3c66b6d9d147e49fe177e27a55 /youtube_dl/extractor/vine.py
parent259454525f9fe41947e6e05882336b7196fc8fce (diff)
Move playlist tests to extractors.
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
Diffstat (limited to 'youtube_dl/extractor/vine.py')
-rw-r--r--youtube_dl/extractor/vine.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vine.py b/youtube_dl/extractor/vine.py
index 076c87119..e7754158d 100644
--- a/youtube_dl/extractor/vine.py
+++ b/youtube_dl/extractor/vine.py
@@ -65,6 +65,13 @@ class VineUserIE(InfoExtractor):
IE_NAME = 'vine:user'
_VALID_URL = r'(?:https?://)?vine\.co/(?P<user>[^/]+)/?(\?.*)?$'
_VINE_BASE_URL = "https://vine.co/"
+ _TEST = {
+ 'url': 'https://vine.co/Visa',
+ 'info_dict': {
+ 'id': 'Visa',
+ },
+ 'playlist_mincount': 47,
+ }
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)