Update for other failing tests
Seems there was some overlap in test names that was contributing to the test errors. Updated hash and test name.
This commit is contained in:
parent
77711c243a
commit
f3c7d796aa
1 changed files with 2 additions and 3 deletions
|
@ -13,10 +13,9 @@ from bdfr.site_downloaders.pornhub import PornHub
|
|||
@pytest.mark.online
|
||||
@pytest.mark.slow
|
||||
@pytest.mark.parametrize(('test_url', 'expected_hash'), (
|
||||
('https://www.pornhub.com/view_video.php?viewkey=ph6074c59798497', 'd9b99e4ebecf2d8d67efe5e70d2acf8a'),
|
||||
('https://www.pornhub.com/view_video.php?viewkey=ph5ede121f0d3f8', ''),
|
||||
('https://www.pornhub.com/view_video.php?viewkey=ph6074c59798497', 'ad52a0f4fce8f99df0abed17de1d04c7'),
|
||||
))
|
||||
def test_find_resources_good(test_url: str, expected_hash: str):
|
||||
def test_hash_resources_good(test_url: str, expected_hash: str):
|
||||
test_submission = MagicMock()
|
||||
test_submission.url = test_url
|
||||
downloader = PornHub(test_submission)
|
||||
|
|
Loading…
Reference in a new issue