Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Refactor import in payment tests
fowczrek7a0c7e1ac6ae
diff --git a/saleor/payment/tests/test_payment.py b/saleor/payment/tests/test_payment.pyindex b9f22f7e48..3e03ebc36a 100644--- a/saleor/payment/tests/test_payment.py+++ b/saleor/payment/tests/test_payment.py@@ -3,18 +3,12 @@ from unittest.mock import Mock, patchimport pytest-from saleor.checkout.calculations import checkout_total-from saleor.payment import (- ChargeStatus,- GatewayError,- PaymentError,- TransactionKind,- gateway,-)-from saleor.payment.error_codes import PaymentErrorCode-from saleor.payment.interface import CreditCardInfo, GatewayConfig, GatewayResponse-from saleor.payment.models import Payment-from saleor.payment.utils import (+from ...checkout.calculations import checkout_total+from .. import ChargeStatus, GatewayError, PaymentError, TransactionKind, gateway+from ..error_codes import PaymentErrorCode+from ..interface import CreditCardInfo, GatewayConfig, GatewayResponse+from ..models import Payment+from ..utils import (ALLOWED_GATEWAY_KINDS,clean_authorize,clean_capture,