Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jan 2, 2025
1 parent 5c87070 commit b5dc2ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions etna/core/middleware.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import json
import logging

from datetime import datetime
from urllib.parse import unquote

from django.conf import settings
from django.http import HttpRequest
from django.template.response import SimpleTemplateResponse, TemplateResponse

from pytz import timezone
from django.template.response import TemplateResponse

logger = logging.getLogger(__name__)

Expand Down
4 changes: 1 addition & 3 deletions etna/core/tests/test_middleware.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from unittest.mock import patch
from urllib.parse import quote

from django.http import HttpRequest
from django.template.response import TemplateResponse
from django.test import SimpleTestCase, TestCase, override_settings
from django.test import SimpleTestCase, override_settings

from etna.core.middleware import InterpretCookiesMiddleware
from etna.core.test_utils import prevent_request_warnings


class TestInterpretCookiesMiddleware(SimpleTestCase):
Expand Down

0 comments on commit b5dc2ce

Please sign in to comment.