Skip to content

Commit

Permalink
Remove unused code, reduce test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound committed Jan 30, 2024
1 parent 8e16508 commit 2991688
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions api/api/utils/image_proxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import itertools
import logging
from dataclasses import dataclass
from typing import Literal
Expand All @@ -24,8 +23,6 @@

parent_logger = logging.getLogger(__name__)

exception_iterator = itertools.count()

HEADERS = {
"User-Agent": settings.OUTBOUND_USER_AGENT_TEMPLATE.format(
purpose="ThumbnailGeneration"
Expand Down
2 changes: 1 addition & 1 deletion api/test/unit/utils/test_image_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2991688

Please sign in to comment.