From 8139e7da67a7b512cc27aa3d1bafe53540693f5e Mon Sep 17 00:00:00 2001 From: deadly-panda Date: Fri, 28 Jan 2022 11:20:46 +0100 Subject: [PATCH] Fixing the tests. --- tests/test_agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_agent.py b/tests/test_agent.py index 174d535..376da44 100644 --- a/tests/test_agent.py +++ b/tests/test_agent.py @@ -15,8 +15,9 @@ def testVirusTotalAgent_when_virusTotalApiReturnsValidResponse_noRaiseVirusTotal and finally emits a message of type v3.report.vulnerability with the details above. """ - def virustotal_valid_response(message): # pylint: disable=W0613 + def virustotal_valid_response(message): """Method for mocking the Virus Total public API valid response.""" + del message response = { 'results': { 'scans': {