From 6b266b440dc39a8f95ff9f0f9b84eab9c7ae0bae Mon Sep 17 00:00:00 2001 From: yash-metron Date: Thu, 27 Feb 2025 21:14:46 +0530 Subject: [PATCH] fixed dateformat --- Packs/Doppel/Integrations/Doppel/Doppel_test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Packs/Doppel/Integrations/Doppel/Doppel_test.py b/Packs/Doppel/Integrations/Doppel/Doppel_test.py index 94e985e437d6..46af408d27e9 100644 --- a/Packs/Doppel/Integrations/Doppel/Doppel_test.py +++ b/Packs/Doppel/Integrations/Doppel/Doppel_test.py @@ -1012,11 +1012,12 @@ def test_get_remote_updated_incident_data_with_entry(): mock_client.get_alert.return_value = { "id": doppel_alert_id, "audit_logs": [ - {"timestamp": "2025-01-01T00:00:00Z", "action": "Updated"}, - {"timestamp": "2025-01-02T00:00:00Z", "action": "Created"} + {"timestamp": "2025-01-01T00:00:00.000000Z", "action": "Updated"}, # Include microseconds + {"timestamp": "2025-01-02T00:00:00.500000Z", "action": "Created"} # Include microseconds ] } + # Call function updated_alert, entries = _get_remote_updated_incident_data_with_entry(mock_client, doppel_alert_id, last_update_str)