[culturebox] Replace test

This commit is contained in:
Sergey M․ 2015-04-04 22:50:13 +06:00
parent 184a197441
commit aed2d4b31e
1 changed files with 11 additions and 8 deletions

View File

@ -260,15 +260,18 @@ class CultureboxIE(FranceTVBaseInfoExtractor):
_VALID_URL = r'https?://(?:m\.)?culturebox\.francetvinfo\.fr/(?P<name>.*?)(\?|$)' _VALID_URL = r'https?://(?:m\.)?culturebox\.francetvinfo\.fr/(?P<name>.*?)(\?|$)'
_TEST = { _TEST = {
'url': 'http://culturebox.francetvinfo.fr/festivals/dans-les-jardins-de-william-christie/dans-les-jardins-de-william-christie-le-camus-162553', 'url': 'http://culturebox.francetvinfo.fr/live/musique/musique-classique/le-livre-vermeil-de-montserrat-a-la-cathedrale-delne-214511',
'md5': '5ad6dec1ffb2a3fbcb20cc4b744be8d6',
'info_dict': { 'info_dict': {
'id': 'EV_22853', 'id': 'EV_50111',
'ext': 'flv', 'ext': 'mp4',
'title': 'Dans les jardins de William Christie - Le Camus', 'title': "Le Livre Vermeil de Montserrat à la Cathédrale d'Elne",
'description': 'md5:4710c82315c40f0c865ca8b9a68b5299', 'description': 'md5:f8a4ad202e8fe533e2c493cc12e739d9',
'upload_date': '20140829', 'upload_date': '20150320',
'timestamp': 1409317200, 'timestamp': 1426892400,
'duration': 2760.9,
},
'params': {
'skip_download': True,
}, },
} }