[twitch] Move URL matching tests into extractor

This commit is contained in:
Philipp Hagemeister 2015-01-22 18:18:21 +01:00
parent 650ab5beeb
commit 78111136db
2 changed files with 5 additions and 15 deletions

View file

@ -148,14 +148,17 @@ class TwitchChapterIE(TwitchItemBaseIE):
_ITEM_TYPE = 'chapter'
_ITEM_SHORTCUT = 'c'
_TEST = {
_TESTS = [{
'url': 'http://www.twitch.tv/acracingleague/c/5285812',
'info_dict': {
'id': 'c5285812',
'title': 'ACRL Off Season - Sports Cars @ Nordschleife',
},
'playlist_mincount': 3,
}
}, {
'url': 'http://www.twitch.tv/tsm_theoddone/c/2349361',
'only_matching': True,
}]
class TwitchVodIE(TwitchItemBaseIE):