diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-04-19 19:41:06 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-04-19 19:41:06 +0200 |
commit | 52fadd5fb2ea5d7e7cd6000203aa7ef886ffad07 (patch) | |
tree | 9c8caae3790b3237cf78c40facaeb4dd20d103ca /youtube_dl/extractor/ign.py | |
parent | 5367fe7f4d8699b711a712598615a815a013fa9c (diff) |
[test_all_urls] Add support for distributed URL matching test definition
Diffstat (limited to 'youtube_dl/extractor/ign.py')
-rw-r--r-- | youtube_dl/extractor/ign.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/youtube_dl/extractor/ign.py b/youtube_dl/extractor/ign.py index cfeaa4146..1f42c6d3a 100644 --- a/youtube_dl/extractor/ign.py +++ b/youtube_dl/extractor/ign.py @@ -106,7 +106,7 @@ class OneUPIE(IGNIE): _DESCRIPTION_RE = r'<div id="vid_summary">(.+?)</div>' - _TEST = { + _TESTS = [{ 'url': 'http://gamevideos.1up.com/video/id/34976', 'md5': '68a54ce4ebc772e4b71e3123d413163d', 'info_dict': { @@ -115,10 +115,7 @@ class OneUPIE(IGNIE): 'title': 'Sniper Elite V2 - Trailer', 'description': 'md5:5d289b722f5a6d940ca3136e9dae89cf', } - } - - # Override IGN tests - _TESTS = [] + }] def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) |