Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unused imports
Mira Szewczyke697d0c41ccb
diff --git a/saleor/checkout/utils.py b/saleor/checkout/utils.pyindex 1265bc15c8..4e02a93065 100644--- a/saleor/checkout/utils.py+++ b/saleor/checkout/utils.py@@ -40,10 +40,9 @@ from ..order.actions import order_createdfrom ..order.emails import send_order_confirmation, send_staff_order_confirmationfrom ..order.models import Order, OrderLinefrom ..shipping.models import ShippingMethod-from ..stock.availability import check_stock_quantity, get_available_quantity+from ..stock.availability import check_stock_quantityfrom ..stock.management import allocate_stockfrom . import AddressType-from .models import Checkout, CheckoutLineif TYPE_CHECKING:diff --git a/tests/test_cart.py b/tests/test_cart.pyindex bc948a99f6..f2ae0d52fa 100644--- a/tests/test_cart.py+++ b/tests/test_cart.py@@ -10,8 +10,6 @@ from saleor.checkout.context_processors import checkout_counterfrom saleor.checkout.models import Checkoutfrom saleor.checkout.utils import add_variant_to_checkoutfrom saleor.product.models import Category-from saleor.shipping.models import ShippingMethod-from saleor.stock.models import Stock@pytest.fixture()diff --git a/tests/test_checkout.py b/tests/test_checkout.pyindex c60b8b798e..21649a623c 100644--- a/tests/test_checkout.py+++ b/tests/test_checkout.py@@ -34,7 +34,6 @@ from saleor.extensions.manager import get_extensions_managerfrom saleor.order import OrderEvents, OrderEventsEmailsfrom saleor.order.models import OrderEventfrom saleor.shipping.models import ShippingZone-from saleor.stock.models import Stockdef test_is_valid_shipping_method(checkout_with_item, address, shipping_zone):