diff --git a/plugins/rapid7_insight_agent/unit_test/test_get_agent_details.py b/plugins/rapid7_insight_agent/unit_test/test_get_agent_details.py index c0ea5a3440..8ccf79a21a 100644 --- a/plugins/rapid7_insight_agent/unit_test/test_get_agent_details.py +++ b/plugins/rapid7_insight_agent/unit_test/test_get_agent_details.py @@ -29,5 +29,5 @@ def test_get_agent_details(self, mock_request: MagicMock, name: str, agent: str, def test_get_agent_by_hostname_bad(self, mock_request: MagicMock) -> None: action = Util.default_connector(GetAgentDetails()) actual = action.run({Input.AGENT: "badID"}) - expected = {} + expected = {"agent": {}} self.assertEqual(actual, expected)