Skip to content

Commit

Permalink
Fixed test_doppel_update_alert_command
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-metron committed Feb 26, 2025
1 parent 7350b4d commit 9f14ff5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Packs/Doppel/Integrations/Doppel/Doppel_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9f14ff5

Please sign in to comment.