From f3c7d796aa764522567eb251d719555329b61a83 Mon Sep 17 00:00:00 2001 From: OMEGARAZER <869111+OMEGARAZER@users.noreply.github.com> Date: Tue, 8 Nov 2022 15:37:21 -0500 Subject: [PATCH] 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. --- tests/site_downloaders/test_pornhub.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/site_downloaders/test_pornhub.py b/tests/site_downloaders/test_pornhub.py index cbe3662..e0933b0 100644 --- a/tests/site_downloaders/test_pornhub.py +++ b/tests/site_downloaders/test_pornhub.py @@ -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)