From bbcde47fa53de06cbb1a797a83d0977c0cc365c5 Mon Sep 17 00:00:00 2001 From: Czar Echavez Date: Tue, 11 Jun 2024 16:43:38 +0100 Subject: [PATCH] #1847: fix test --- tests/integration_tests/system/test_nmap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration_tests/system/test_nmap.py b/tests/integration_tests/system/test_nmap.py index 7cad6a98..be6f74d2 100644 --- a/tests/integration_tests/system/test_nmap.py +++ b/tests/integration_tests/system/test_nmap.py @@ -138,7 +138,7 @@ def test_ping_scan_red_agent(): expected_result = ["192.168.1.1", "192.168.1.10", "192.168.1.14"] - action_history = game.agents["client_1_red_nmap"].action_history + action_history = game.agents["client_1_red_nmap"].history assert len(action_history) == 1 actual_result = action_history[0].response.data["live_hosts"] @@ -161,7 +161,7 @@ def test_port_scan_red_agent(): }, } - action_history = game.agents["client_1_red_nmap"].action_history + action_history = game.agents["client_1_red_nmap"].history assert len(action_history) == 1 actual_result = action_history[0].response.data @@ -178,7 +178,7 @@ def test_network_service_recon_red_agent(): expected_result = {"192.168.10.22": {"tcp": [80]}} - action_history = game.agents["client_1_red_nmap"].action_history + action_history = game.agents["client_1_red_nmap"].history assert len(action_history) == 1 actual_result = action_history[0].response.data