Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Resort imports by isort
Unknownda714e8c5bf8
diff --git a/saleor/checkout/models.py b/saleor/checkout/models.pyindex cdd70c62f9..1e48efc8fe 100644--- a/saleor/checkout/models.py+++ b/saleor/checkout/models.py@@ -13,8 +13,8 @@ from measurement.measures import Weightfrom ..account.models import Addressfrom ..core.utils.taxes import ZERO_TAXED_MONEY, zero_money-from ..shipping.models import ShippingMethodfrom ..core.weight import zero_weight+from ..shipping.models import ShippingMethodCENTS = Decimal('0.01')diff --git a/saleor/graphql/account/mutations.py b/saleor/graphql/account/mutations.pyindex 1dc21f6130..75e3ae11fe 100644--- a/saleor/graphql/account/mutations.py+++ b/saleor/graphql/account/mutations.py@@ -20,7 +20,6 @@ from ..core.enums import PermissionEnumfrom ..core.mutations import BaseMutation, ModelDeleteMutation, ModelMutationfrom ..core.types import Error-BILLING_ADDRESS_FIELD = 'default_billing_address'SHIPPING_ADDRESS_FIELD = 'default_shipping_address'diff --git a/tests/test_order.py b/tests/test_order.pyindex b2c605b15c..1c909bcea0 100644--- a/tests/test_order.py+++ b/tests/test_order.py@@ -4,7 +4,6 @@ import pytestfrom django.urls import reversefrom django_countries.fields import Countryfrom prices import Money, TaxedMoney-from tests.utils import get_redirect_locationfrom saleor.account.models import Userfrom saleor.checkout.utils import create_order@@ -21,6 +20,7 @@ from saleor.order.utils import (update_order_prices, update_order_status)from saleor.payment import ChargeStatusfrom saleor.payment.models import Payment+from tests.utils import get_redirect_locationdef test_total_setter():