diff --git a/tests/discovery/test_githubcode.py b/tests/discovery/test_githubcode.py index b8f358f9..c61f557b 100644 --- a/tests/discovery/test_githubcode.py +++ b/tests/discovery/test_githubcode.py @@ -2,7 +2,7 @@ from theHarvester.discovery import githubcode from theHarvester.discovery.githubcode import RetryResult, ErrorResult, SuccessResult from theHarvester.discovery.constants import MissingKey from theHarvester.lib.core import Core -from unittest.mock import MagicMock +from mock import MagicMock from requests import Response import pytest