chore: fix test

The test needed the new attribute adding
This commit is contained in:
B Tasker 2024-08-18 17:53:49 +01:00
parent c9f6521a61
commit ed40ff3e70
No known key found for this signature in database
GPG key ID: 8DC652174C1EBA9B

View file

@ -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