mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[vevo] Allow video info to fail in tests
This commit is contained in:
parent
e94eeb1dd3
commit
1db058466d
1 changed files with 5 additions and 3 deletions
|
@ -51,7 +51,7 @@ class VevoIE(VevoBaseIE):
|
||||||
'artist': 'Hurts',
|
'artist': 'Hurts',
|
||||||
'genre': 'Pop',
|
'genre': 'Pop',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Unable to download SMIL file'],
|
'expected_warnings': ['Unable to download SMIL file', 'Unable to download info'],
|
||||||
}, {
|
}, {
|
||||||
'note': 'v3 SMIL format',
|
'note': 'v3 SMIL format',
|
||||||
'url': 'http://www.vevo.com/watch/cassadee-pope/i-wish-i-could-break-your-heart/USUV71302923',
|
'url': 'http://www.vevo.com/watch/cassadee-pope/i-wish-i-could-break-your-heart/USUV71302923',
|
||||||
|
@ -67,7 +67,7 @@ class VevoIE(VevoBaseIE):
|
||||||
'artist': 'Cassadee Pope',
|
'artist': 'Cassadee Pope',
|
||||||
'genre': 'Country',
|
'genre': 'Country',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Unable to download SMIL file'],
|
'expected_warnings': ['Unable to download SMIL file', 'Unable to download info'],
|
||||||
}, {
|
}, {
|
||||||
'note': 'Age-limited video',
|
'note': 'Age-limited video',
|
||||||
'url': 'https://www.vevo.com/watch/justin-timberlake/tunnel-vision-explicit/USRV81300282',
|
'url': 'https://www.vevo.com/watch/justin-timberlake/tunnel-vision-explicit/USRV81300282',
|
||||||
|
@ -83,7 +83,7 @@ class VevoIE(VevoBaseIE):
|
||||||
'artist': 'Justin Timberlake',
|
'artist': 'Justin Timberlake',
|
||||||
'genre': 'Pop',
|
'genre': 'Pop',
|
||||||
},
|
},
|
||||||
'expected_warnings': ['Unable to download SMIL file'],
|
'expected_warnings': ['Unable to download SMIL file', 'Unable to download info'],
|
||||||
}, {
|
}, {
|
||||||
'note': 'No video_info',
|
'note': 'No video_info',
|
||||||
'url': 'http://www.vevo.com/watch/k-camp-1/Till-I-Die/USUV71503000',
|
'url': 'http://www.vevo.com/watch/k-camp-1/Till-I-Die/USUV71503000',
|
||||||
|
@ -100,6 +100,7 @@ class VevoIE(VevoBaseIE):
|
||||||
'artist': 'K Camp',
|
'artist': 'K Camp',
|
||||||
'genre': 'Hip-Hop',
|
'genre': 'Hip-Hop',
|
||||||
},
|
},
|
||||||
|
'expected_warnings': ['Unable to download SMIL file', 'Unable to download info'],
|
||||||
}, {
|
}, {
|
||||||
'note': 'Featured test',
|
'note': 'Featured test',
|
||||||
'url': 'https://www.vevo.com/watch/lemaitre/Wait/USUV71402190',
|
'url': 'https://www.vevo.com/watch/lemaitre/Wait/USUV71402190',
|
||||||
|
@ -116,6 +117,7 @@ class VevoIE(VevoBaseIE):
|
||||||
'artist': 'Lemaitre',
|
'artist': 'Lemaitre',
|
||||||
'genre': 'Electronic',
|
'genre': 'Electronic',
|
||||||
},
|
},
|
||||||
|
'expected_warnings': ['Unable to download SMIL file', 'Unable to download info'],
|
||||||
}, {
|
}, {
|
||||||
'note': 'Only available via webpage',
|
'note': 'Only available via webpage',
|
||||||
'url': 'http://www.vevo.com/watch/GBUV71600656',
|
'url': 'http://www.vevo.com/watch/GBUV71600656',
|
||||||
|
|
Loading…
Reference in a new issue