From b3c520f2725c37bb2d020fab25f122dcf750a771 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 10 Dec 2021 10:11:49 -0500 Subject: [PATCH] Agent: Fix incorrect port status in MockPuppet --- monkey/infection_monkey/puppet/mock_puppet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/puppet/mock_puppet.py b/monkey/infection_monkey/puppet/mock_puppet.py index a7f7fa324..de89db172 100644 --- a/monkey/infection_monkey/puppet/mock_puppet.py +++ b/monkey/infection_monkey/puppet/mock_puppet.py @@ -279,4 +279,4 @@ class MockPuppet(IPuppet): def _get_empty_results(port: int): - return PortScanData(port, False, None, None) + return PortScanData(port, PortStatus.CLOSED, None, None)