Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Move api checkout tests
fowczrek20370b012c49
diff --git a/saleor/graphql/checkout/tests/__init__.py b/saleor/graphql/checkout/tests/__init__.pynew file mode 100644index 0000000000..e69de29bb2diff --git a/tests/api/test_checkout.py b/saleor/graphql/checkout/tests/test_checkout.pysimilarity index 99%rename from tests/api/test_checkout.pyrename to saleor/graphql/checkout/tests/test_checkout.pyindex bc8b0a0e50..35297b3c50 100644--- a/tests/api/test_checkout.py+++ b/saleor/graphql/checkout/tests/test_checkout.py@@ -28,9 +28,8 @@ from saleor.payment import TransactionKindfrom saleor.payment.interface import GatewayResponsefrom saleor.plugins.manager import PluginsManagerfrom saleor.warehouse.models import Stock--from ..utils import get_available_quantity_for_stock-from .utils import assert_no_permission, get_graphql_content+from tests.api.utils import assert_no_permission, get_graphql_content+from tests.utils import get_available_quantity_for_stock@pytest.fixture(autouse=True)diff --git a/tests/api/test_checkout_digital.py b/saleor/graphql/checkout/tests/test_checkout_digital.pysimilarity index 100%rename from tests/api/test_checkout_digital.pyrename to saleor/graphql/checkout/tests/test_checkout_digital.pydiff --git a/tests/api/test_checkout_promo_codes.py b/saleor/graphql/checkout/tests/test_checkout_promo_codes.pysimilarity index 99%rename from tests/api/test_checkout_promo_codes.pyrename to saleor/graphql/checkout/tests/test_checkout_promo_codes.pyindex 55a0d97f8c..b658486f02 100644--- a/tests/api/test_checkout_promo_codes.py+++ b/saleor/graphql/checkout/tests/test_checkout_promo_codes.py@@ -7,11 +7,12 @@ from prices import Moneyfrom saleor.checkout import calculationsfrom saleor.checkout.utils import add_voucher_to_checkoutfrom saleor.discount import DiscountInfo, VoucherType-from tests.api.test_checkout import (+from tests.api.utils import get_graphql_content++from .test_checkout import (MUTATION_CHECKOUT_LINES_DELETE,MUTATION_CHECKOUT_SHIPPING_ADDRESS_UPDATE,)-from tests.api.utils import get_graphql_contentdef test_checkout_lines_delete_with_not_applicable_voucher(