chore: fix test
The test needed the new attribute adding
This commit is contained in:
parent
c9f6521a61
commit
ed40ff3e70
1 changed files with 1 additions and 0 deletions
|
|
@ -1446,6 +1446,7 @@ def test_can_fetch(mock_robotFileParser, mock_get_robots_from_url):
|
||||||
# Prepare mocks
|
# Prepare mocks
|
||||||
mock_robotsTxt = MagicMock()
|
mock_robotsTxt = MagicMock()
|
||||||
mock_robotParser = MagicMock()
|
mock_robotParser = MagicMock()
|
||||||
|
find_posts.INSTANCE_BLOCKLIST = []
|
||||||
|
|
||||||
# Mock return values
|
# Mock return values
|
||||||
mock_get_robots_from_url.return_value = mock_robotsTxt
|
mock_get_robots_from_url.return_value = mock_robotsTxt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue