Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Move api pagination tests
fowczrek035b3ff55ec9
diff --git a/tests/api/pagination/test_account.py b/saleor/graphql/account/tests/test_pagination.pysimilarity index 99%rename from tests/api/pagination/test_account.pyrename to saleor/graphql/account/tests/test_pagination.pyindex 9620cfaef0..29a0ccfc4a 100644--- a/tests/api/pagination/test_account.py+++ b/saleor/graphql/account/tests/test_pagination.py@@ -3,8 +3,7 @@ from django.contrib.auth import models as auth_modelsfrom saleor.account.models import Userfrom saleor.order.models import Order--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixture()diff --git a/tests/api/pagination/test_account_service_account.py b/saleor/graphql/account/tests/test_pagination_deprecated_service_account.pysimilarity index 98%rename from tests/api/pagination/test_account_service_account.pyrename to saleor/graphql/account/tests/test_pagination_deprecated_service_account.pyindex e52dc6cb81..651278946b 100644--- a/tests/api/pagination/test_account_service_account.py+++ b/saleor/graphql/account/tests/test_pagination_deprecated_service_account.py@@ -1,8 +1,7 @@import pytestfrom saleor.app.models import App--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixture()diff --git a/tests/api/pagination/test_app.py b/saleor/graphql/app/tests/test_pagination.pysimilarity index 98%rename from tests/api/pagination/test_app.pyrename to saleor/graphql/app/tests/test_pagination.pyindex 254f565792..d173c65b62 100644--- a/tests/api/pagination/test_app.py+++ b/saleor/graphql/app/tests/test_pagination.py@@ -1,8 +1,7 @@import pytestfrom saleor.app.models import App--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixture()diff --git a/tests/api/pagination/test_discount.py b/saleor/graphql/discount/tests/test_pagination.pysimilarity index 99%rename from tests/api/pagination/test_discount.pyrename to saleor/graphql/discount/tests/test_pagination.pyindex 07fe1ce4f6..5909c19029 100644--- a/tests/api/pagination/test_discount.py+++ b/saleor/graphql/discount/tests/test_pagination.py@@ -6,8 +6,7 @@ from freezegun import freeze_timefrom saleor.discount import DiscountValueType, VoucherTypefrom saleor.discount.models import Sale, Voucher--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixturediff --git a/tests/api/pagination/test_menu.py b/saleor/graphql/menu/tests/test_pagination.pysimilarity index 99%rename from tests/api/pagination/test_menu.pyrename to saleor/graphql/menu/tests/test_pagination.pyindex 0be205e824..3ad2b746fd 100644--- a/tests/api/pagination/test_menu.py+++ b/saleor/graphql/menu/tests/test_pagination.py@@ -1,8 +1,7 @@import pytestfrom saleor.menu.models import Menu, MenuItem--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixturediff --git a/tests/api/pagination/test_order.py b/saleor/graphql/order/tests/test_pagination.pysimilarity index 99%rename from tests/api/pagination/test_order.pyrename to saleor/graphql/order/tests/test_pagination.pyindex 00088c6d70..be45661831 100644--- a/tests/api/pagination/test_order.py+++ b/saleor/graphql/order/tests/test_pagination.py@@ -8,8 +8,7 @@ from prices import Money, TaxedMoneyfrom saleor.order.models import Order, OrderStatusfrom saleor.payment import ChargeStatus--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixture()diff --git a/tests/api/pagination/test_attribute.py b/saleor/graphql/product/tests/test_attribute_pagination.pysimilarity index 99%rename from tests/api/pagination/test_attribute.pyrename to saleor/graphql/product/tests/test_attribute_pagination.pyindex 4fe1bc7943..c8666ac8a6 100644--- a/tests/api/pagination/test_attribute.py+++ b/saleor/graphql/product/tests/test_attribute_pagination.py@@ -9,8 +9,7 @@ from saleor.product.models import (Product,ProductType,)--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixturediff --git a/tests/api/pagination/test_product.py b/saleor/graphql/product/tests/test_product_pagination.pysimilarity index 99%rename from tests/api/pagination/test_product.pyrename to saleor/graphql/product/tests/test_product_pagination.pyindex 29d2485d52..1ae592aced 100644--- a/tests/api/pagination/test_product.py+++ b/saleor/graphql/product/tests/test_product_pagination.py@@ -13,8 +13,7 @@ from saleor.product.models import ()from saleor.product.utils.attributes import associate_attribute_values_to_instancefrom saleor.warehouse.models import Stock--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixturediff --git a/tests/api/pagination/test_warehouse.py b/saleor/graphql/warehouse/tests/test_pagination.pysimilarity index 98%rename from tests/api/pagination/test_warehouse.pyrename to saleor/graphql/warehouse/tests/test_pagination.pyindex c3e7033403..19ec9f1a74 100644--- a/tests/api/pagination/test_warehouse.py+++ b/saleor/graphql/warehouse/tests/test_pagination.py@@ -2,8 +2,7 @@ import grapheneimport pytestfrom saleor.warehouse.models import Warehouse--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixturediff --git a/tests/api/pagination/test_webhook.py b/saleor/graphql/webhook/tests/test_pagination.pysimilarity index 98%rename from tests/api/pagination/test_webhook.pyrename to saleor/graphql/webhook/tests/test_pagination.pyindex 1ce72fda13..976be738ae 100644--- a/tests/api/pagination/test_webhook.py+++ b/saleor/graphql/webhook/tests/test_pagination.py@@ -2,8 +2,7 @@ import pytestfrom saleor.app.models import Appfrom saleor.webhook.models import Webhook--from ..utils import get_graphql_content+from tests.api.utils import get_graphql_content@pytest.fixture