From e019a0fa58ab20d87e795dbe398a0f8b34ef6fc4 Mon Sep 17 00:00:00 2001 From: Nabil Dakkoune Date: Tue, 26 May 2026 21:28:02 +0200 Subject: [PATCH] fixup! fix: store failed log events on intake errors (#1131) --- aws/logs_monitoring/tests/test_datadog_http_client.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/aws/logs_monitoring/tests/test_datadog_http_client.py b/aws/logs_monitoring/tests/test_datadog_http_client.py index b7fadca32..b28737400 100644 --- a/aws/logs_monitoring/tests/test_datadog_http_client.py +++ b/aws/logs_monitoring/tests/test_datadog_http_client.py @@ -1,14 +1,7 @@ import unittest import sys -import types from unittest.mock import MagicMock, patch -botocore = types.ModuleType("botocore") -botocore.config = types.ModuleType("botocore.config") -botocore.config.Config = MagicMock() -sys.modules["boto3"] = MagicMock() -sys.modules["botocore"] = botocore -sys.modules["botocore.config"] = botocore.config sys.modules["requests"] = MagicMock() sys.modules["requests_futures.sessions"] = MagicMock()