diff --git a/api/api/utils/image_proxy/__init__.py b/api/api/utils/image_proxy/__init__.py index af8cd65c770..21b0b302521 100644 --- a/api/api/utils/image_proxy/__init__.py +++ b/api/api/utils/image_proxy/__init__.py @@ -1,4 +1,3 @@ -import itertools import logging from dataclasses import dataclass from typing import Literal @@ -24,8 +23,6 @@ parent_logger = logging.getLogger(__name__) -exception_iterator = itertools.count() - HEADERS = { "User-Agent": settings.OUTBOUND_USER_AGENT_TEMPLATE.format( purpose="ThumbnailGeneration" diff --git a/api/test/unit/utils/test_image_proxy.py b/api/test/unit/utils/test_image_proxy.py index d17341965f3..896f94b953f 100644 --- a/api/test/unit/utils/test_image_proxy.py +++ b/api/test/unit/utils/test_image_proxy.py @@ -332,7 +332,7 @@ def test_get_successful_records_response_code( alert_count_params = pytest.mark.parametrize( "count_start", - [0, 1, 50, 99, 100, 999, 1000, 1500, 1999], + [0, 1, 999], ) MOCK_CONNECTION_KEY = ConnectionKey(