From fdd1de07b262931a9bcd011761ab944941368d40 Mon Sep 17 00:00:00 2001 From: ablakley-r7 <96182471+ablakley-r7@users.noreply.github.com> Date: Mon, 6 Jan 2025 14:03:51 +0000 Subject: [PATCH] testing unit test --- .../palo_alto_cortex_xdr/unit_test/test_monitor_alerts.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/palo_alto_cortex_xdr/unit_test/test_monitor_alerts.py b/plugins/palo_alto_cortex_xdr/unit_test/test_monitor_alerts.py index f4b47e4e26..37bee0ad87 100644 --- a/plugins/palo_alto_cortex_xdr/unit_test/test_monitor_alerts.py +++ b/plugins/palo_alto_cortex_xdr/unit_test/test_monitor_alerts.py @@ -2,6 +2,7 @@ import sys sys.path.append(os.path.abspath("../")) +from logging import logging from unittest import TestCase from unittest.mock import patch, MagicMock @@ -122,8 +123,8 @@ def test_monitor_alerts_pagination( mock_req.return_value = mock_conditions(200, file_name=response_file) output, state, has_more_pages, status_code, _ = self.task.run(state=state) - print(state) - print(expected_state) + logging.info(state) + logging.info(expected_state) self.assertEqual(expected_output, output) self.assertEqual(expected_has_more_pages, has_more_pages)