From 9f14ff5f64ce110fa1a63cc6eceefa7681bfd648 Mon Sep 17 00:00:00 2001 From: yash-metron Date: Wed, 26 Feb 2025 17:26:18 +0530 Subject: [PATCH] Fixed test_doppel_update_alert_command --- Packs/Doppel/Integrations/Doppel/Doppel_test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Packs/Doppel/Integrations/Doppel/Doppel_test.py b/Packs/Doppel/Integrations/Doppel/Doppel_test.py index afd5d7de78a3..445ecde91a9d 100644 --- a/Packs/Doppel/Integrations/Doppel/Doppel_test.py +++ b/Packs/Doppel/Integrations/Doppel/Doppel_test.py @@ -20,7 +20,8 @@ doppel_create_abuse_alert_command, ) -from Packs.Base.Scripts.CommonServerPython.CommonServerPython import * +from CommonServerPython import * +from CommonServerUserPython import * ALERTS_RESPONSE = [ {"id": "1", "created_at": "2025-02-01T12:00:00.000000Z"}, @@ -287,8 +288,6 @@ def test_doppel_update_alert_command(mocker): assert result.outputs_key_field == "id", "Incorrect key field" assert result.outputs == {"id": "123", "queue_state": "archived", "entity_state": "closed"}, "Unexpected output" - mock_debug.assert_called() # Ensure debug logs are being generated - def test_doppel_update_alert_command_with_entity(client, mocker): # Prepare the mock response for the _http_request function