From fde64a2092abc5ea0c121c189756456168d55422 Mon Sep 17 00:00:00 2001 From: Aniruddh Joshi Date: Sun, 25 Mar 2018 08:41:44 +0530 Subject: [PATCH] [torrins] updated test --- youtube_dl/extractor/torrins.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/youtube_dl/extractor/torrins.py b/youtube_dl/extractor/torrins.py index a9a79a0ec..d35ba714a 100644 --- a/youtube_dl/extractor/torrins.py +++ b/youtube_dl/extractor/torrins.py @@ -22,7 +22,7 @@ class TorrinsIE(InfoExtractor): _ORIGIN_URL = 'https://www.torrins.com' _NETRC_MACHINE = 'torrins' - _TESTS = [{ + _TEST = { 'url': 'https://www.torrins.com/guitar-lessons/song-lessons/english-songs/another-brick-in-the-wall/song-demo.html', 'info_dict': { 'id': 'another-brick-in-the-wall', @@ -33,15 +33,7 @@ class TorrinsIE(InfoExtractor): 'duration': 579.29, }, 'skip': 'Requires torrins premium account credentials', - }, { - # new URL schema - 'url': 'https://www.torrins.com/guitar-lessons/song-lessons/english-songs/another-brick-in-the-wall/song-demo.html', - 'only_matching': True, - }, { - # no url in outputs format entry - 'url': 'https://www.torrins.com/guitar-lessons/style-genre/fingerstyle/tone-production.html', - 'only_matching': True, - }] + } def _handle_error(self, response): if not isinstance(response, dict):