Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Cosmetics
Artur Smęt651e7235025e
diff --git a/saleor/checkout/views/discount.py b/saleor/checkout/views/discount.pyindex 698cf082e1..6269f788df 100644--- a/saleor/checkout/views/discount.py+++ b/saleor/checkout/views/discount.py@@ -5,8 +5,8 @@ from django.shortcuts import redirectfrom django.template.response import TemplateResponsefrom django.utils.translation import pgettext-from ...discount.models import Voucherfrom ...discount.forms import CheckoutDiscountForm+from ...discount.models import Voucherdef add_voucher_form(view):diff --git a/tests/test_checkout_integration.py b/tests/test_checkout_integration.pyindex 747a3c0e7a..a9300d1a3b 100644--- a/tests/test_checkout_integration.py+++ b/tests/test_checkout_integration.py@@ -65,8 +65,9 @@ def test_checkout_flow(request_cart_with_item, client, shipping_method): # pyliassert get_redirect_location(payment_response) == order_details-def test_checkout_flow_authenticated_user(authorized_client, billing_address, request_cart_with_item, # pylint: disable=R0914- customer_user, shipping_method):+def test_checkout_flow_authenticated_user(authorized_client, billing_address, # pylint: disable=R0914+ request_cart_with_item, customer_user,+ shipping_method):"""Checkout with authenticated user and previously saved address"""