Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unused imports
TOMEKa5998a024527
diff --git a/saleor/account/emails.py b/saleor/account/emails.pyindex 88a5a7bbdc..3a0878c461 100644--- a/saleor/account/emails.py+++ b/saleor/account/emails.py@@ -1,7 +1,5 @@from celery import shared_taskfrom django.conf import settings-from django.contrib.sites.models import Site-from django.templatetags.static import staticfrom django.urls import reversefrom templated_email import send_templated_maildiff --git a/saleor/dashboard/emails.py b/saleor/dashboard/emails.pyindex ab09242f87..ec3fff5e0a 100644--- a/saleor/dashboard/emails.py+++ b/saleor/dashboard/emails.py@@ -1,8 +1,6 @@from celery import shared_taskfrom django.conf import settingsfrom django.contrib.auth.tokens import default_token_generator-from django.contrib.sites.models import Site-from django.templatetags.static import staticfrom django.urls import reversefrom django.utils.encoding import force_bytesfrom django.utils.http import urlsafe_base64_encodediff --git a/saleor/order/emails.py b/saleor/order/emails.pyindex 84f16e6b7a..57bfc48412 100644--- a/saleor/order/emails.py+++ b/saleor/order/emails.py@@ -1,7 +1,5 @@from celery import shared_taskfrom django.conf import settings-from django.contrib.sites.models import Site-from django.templatetags.static import staticfrom django.urls import reversefrom templated_email import send_templated_maildiff --git a/tests/test_emails.py b/tests/test_emails.pyindex 9b06be8e58..4ab36abdf9 100644--- a/tests/test_emails.py+++ b/tests/test_emails.py@@ -3,15 +3,14 @@ from unittest import mockimport pytestfrom django.conf import settingsfrom django.templatetags.static import static-from django.urls import reversefrom templated_email import get_connectionimport saleor.order.emails as emails-from saleor.core.utils import build_absolute_urifrom saleor.core.emails import get_email_base_context+from saleor.core.utils import build_absolute_uri-def test_get_email_base_context(order, site_settings):+def test_get_email_base_context(site_settings):site = site_settings.sitelogo_url = build_absolute_uri(location=None) + static('images/logo-document.svg')