Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unused imports

Unknown2ab6b6fda741
diff --git a/saleor/checkout/models.py b/saleor/checkout/models.py
index cdd70c62f9..81eb20b30a 100644
--- a/saleor/checkout/models.py
+++ b/saleor/checkout/models.py
@@ -9,7 +9,6 @@ from django.core.validators import MinValueValidator
from django.db import models
from django.utils.encoding import smart_str
from django_prices.models import MoneyField
-from measurement.measures import Weight
from ..account.models import Address
from ..core.utils.taxes import ZERO_TAXED_MONEY, zero_money
diff --git a/saleor/payment/gateways/dummy/__init__.py b/saleor/payment/gateways/dummy/__init__.py
index 7b29cbdb35..d5987c35e4 100644
--- a/saleor/payment/gateways/dummy/__init__.py
+++ b/saleor/payment/gateways/dummy/__init__.py
@@ -1,5 +1,4 @@
import uuid
-from decimal import Decimal
from typing import Dict
from ... import ChargeStatus
diff --git a/tests/test_cart.py b/tests/test_cart.py
index d98ebbaa3e..c180f4829b 100644
--- a/tests/test_cart.py
+++ b/tests/test_cart.py
@@ -6,7 +6,6 @@ import pytest
from django.contrib.auth.models import AnonymousUser
from django.core import signing
from django.core.exceptions import ObjectDoesNotExist
-from django.http import HttpResponse
from django.urls import reverse
from measurement.measures import Weight
from prices import Money, TaxedMoney