Change test case for PornTrexIE

The video that we used to test the previous version of porntrex.py is no
longer on the website. This led to failures in the tests. Here we have a
corrected version with working URL.
This commit is contained in:
nindogo 2019-04-30 04:13:32 +03:00
parent 53cd5b7926
commit bbf0342afd

View File

@ -46,13 +46,13 @@ class PornTrexIE(PornTrexBaseIE):
_NETRC_MACHINE = 'porntrex' _NETRC_MACHINE = 'porntrex'
_VALID_URL = r'https?://(?:www\.)?porntrex\.com/video/(?P<id>[0-9]+)/' _VALID_URL = r'https?://(?:www\.)?porntrex\.com/video/(?P<id>[0-9]+)/'
_TEST = { _TEST = {
'url': 'https://www.porntrex.com/video/350451/naomi-woods-the-list', 'url': 'https://www.porntrex.com/video/311136/naomi-gets-fingered-before-the-fucking',
'info_dict': { 'info_dict': {
'id': '350451', 'id': '311136',
'ext': 'mp4', 'ext': 'mp4',
'title': 'Naomi Woods - The List in 4k', 'title': 'Naomi gets fingered before the fucking',
'uploader': 'delman', 'uploader': 'cumberland',
'description': 'Naomi Woods The List', 'description': 'Sexy brunette babe likes to get her tight cunt slammed in hardcore fashion.',
} }
} }