Skip to content

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

Cosmetics

Artur Smęt651e7235025e
diff --git a/saleor/checkout/views/discount.py b/saleor/checkout/views/discount.py
index 698cf082e1..6269f788df 100644
--- a/saleor/checkout/views/discount.py
+++ b/saleor/checkout/views/discount.py
@@ -5,8 +5,8 @@ from django.shortcuts import redirect
from django.template.response import TemplateResponse
from django.utils.translation import pgettext
-from ...discount.models import Voucher
from ...discount.forms import CheckoutDiscountForm
+from ...discount.models import Voucher
def add_voucher_form(view):
diff --git a/tests/test_checkout_integration.py b/tests/test_checkout_integration.py
index 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): # pyli
assert 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
"""