diff --git a/tests/exploits/cve_2014_7169_test.py b/tests/exploits/cve_2014_7169_test.py index 4825d0fc..99cbd982 100644 --- a/tests/exploits/cve_2014_7169_test.py +++ b/tests/exploits/cve_2014_7169_test.py @@ -50,12 +50,9 @@ def testCVE20147169_whenSafe_reportNothing(mocker: plugin.MockerFixture) -> None def side_effect(*args, **kwargs): # type: ignore[no-untyped-def] mock_response = mocker.Mock(spec=requests.Response) elapsed = datetime.timedelta(seconds=random.randint(30, 90)) - mock_response.elapsed = elapsed return mock_response - mocker.patch("requests.sessions.Session.get", side_effect=side_effect) - target = definitions.Target(scheme="https", host="127.0.0.1", port=8081) exploit_instance = cve_2014_7169.CVE20147169Exploit()