Skip to content

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

Move clean functions to utils

Damian W981b233d6036
diff --git a/tests/api/test_checkout.py b/tests/api/test_checkout.py
index b4198cfe46..a8148ef871 100644
--- a/tests/api/test_checkout.py
+++ b/tests/api/test_checkout.py
@@ -6,7 +6,6 @@ from unittest.mock import ANY, patch
import graphene
import pytest
from django.core.exceptions import ValidationError
-from graphql.checkout.utils import clean_checkout_payment, clean_checkout_shipping
from prices import Money, TaxedMoney
from saleor.account.models import User
@@ -20,6 +19,10 @@ from saleor.graphql.checkout.mutations import (
clean_shipping_method,
update_checkout_shipping_method_if_invalid,
)
+from saleor.graphql.checkout.utils import (
+ clean_checkout_payment,
+ clean_checkout_shipping,
+)
from saleor.order.models import Order
from saleor.payment import TransactionKind
from saleor.payment.interface import GatewayResponse