From 311aff27aa754e47ab3e4a5722f74dedd2187859 Mon Sep 17 00:00:00 2001 From: ablakley-r7 <96182471+ablakley-r7@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:52:48 +0000 Subject: [PATCH] Update unit test pagination --- .../palo_alto_cortex_xdr/unit_test/test_monitor_alerts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 5660759a4a..99e4a279ff 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 @@ -78,7 +78,7 @@ def setUp(self) -> None: "starting", {}, TaskUtil.load_expected("monitor_alerts"), - True, + False, "monitor_alerts", STUB_STATE_MORE_PAGES, 200, @@ -87,7 +87,7 @@ def setUp(self) -> None: "next_page", STUB_STATE_MORE_PAGES.copy(), TaskUtil.load_expected("monitor_alert_two"), - True, + False, "monitor_alerts_two", STUB_STATE_EXPECTED_SECOND_PAGE, 200, @@ -250,7 +250,7 @@ def test_monitor_alerts_dedupe( self.assertEqual(status_code, expected_status_code) self.assertEqual(input_state, state) - self.assertEqual(has_more_pages, True) + self.assertEqual(has_more_pages, False) self.assertEqual(output, []) @parameterized.expand( @@ -353,4 +353,4 @@ def test_monitor_alerts_custom_config( self.assertEqual(output, expected_output) self.assertEqual(status_code, expected_status_code) self.assertEqual(input_state, state) - self.assertEqual(has_more_pages, True) + self.assertEqual(has_more_pages, False)