Skip to content

Commit

Permalink
testing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ablakley-r7 committed Jan 6, 2025
1 parent 96ba37d commit fdd1de0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/palo_alto_cortex_xdr/unit_test/test_monitor_alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fdd1de0

Please sign in to comment.