From ed40ff3e70d55bec52c0e04b1f7d78064ab3e7ec Mon Sep 17 00:00:00 2001 From: B Tasker Date: Sun, 18 Aug 2024 17:53:49 +0100 Subject: [PATCH] chore: fix test The test needed the new attribute adding --- tests/test_find_posts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_find_posts.py b/tests/test_find_posts.py index 4df950d..6e964ae 100644 --- a/tests/test_find_posts.py +++ b/tests/test_find_posts.py @@ -1446,6 +1446,7 @@ def test_can_fetch(mock_robotFileParser, mock_get_robots_from_url): # Prepare mocks mock_robotsTxt = MagicMock() mock_robotParser = MagicMock() + find_posts.INSTANCE_BLOCKLIST = [] # Mock return values mock_get_robots_from_url.return_value = mock_robotsTxt