Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Refactor import in api shop tests
fowczrekb8d797596011
diff --git a/saleor/graphql/shop/tests/benchmark/test_homepage.py b/saleor/graphql/shop/tests/benchmark/test_homepage.pyindex 0c76d3e55a..9931234506 100644--- a/saleor/graphql/shop/tests/benchmark/test_homepage.py+++ b/saleor/graphql/shop/tests/benchmark/test_homepage.py@@ -1,6 +1,6 @@import pytest-from saleor.graphql.tests.utils import get_graphql_content+from ....tests.utils import get_graphql_content@pytest.mark.django_dbdiff --git a/saleor/graphql/shop/tests/test_shop.py b/saleor/graphql/shop/tests/test_shop.pyindex 3e83478685..22302b739a 100644--- a/saleor/graphql/shop/tests/test_shop.py+++ b/saleor/graphql/shop/tests/test_shop.py@@ -4,13 +4,13 @@ import grapheneimport pytestfrom django_countries import countries-from saleor.account.models import Address-from saleor.core.error_codes import ShopErrorCode-from saleor.core.permissions import get_permissions_codename-from saleor.graphql.core.utils import str_to_enum-from saleor.graphql.tests.utils import get_graphql_content-from saleor.site import AuthenticationBackends-from saleor.site.models import Site+from ....account.models import Address+from ....core.error_codes import ShopErrorCode+from ....core.permissions import get_permissions_codename+from ....site import AuthenticationBackends+from ....site.models import Site+from ...core.utils import str_to_enum+from ...tests.utils import get_graphql_contentdef test_query_authorization_keys(diff --git a/saleor/graphql/shop/tests/test_shop_taxes.py b/saleor/graphql/shop/tests/test_shop_taxes.pyindex 2905e925eb..8cd9a42aae 100644--- a/saleor/graphql/shop/tests/test_shop_taxes.py+++ b/saleor/graphql/shop/tests/test_shop_taxes.py@@ -4,8 +4,8 @@ import pytestfrom django_prices_vatlayer.models import VATfrom django_prices_vatlayer.utils import get_tax_for_rate-from saleor.graphql.core.utils import str_to_enum-from saleor.graphql.tests.utils import get_graphql_content+from ...core.utils import str_to_enum+from ...tests.utils import get_graphql_content# FIXME we are going to rewrite tax section. Currently, below tests are connected only# with vatlayer. After we introduce approach for taxes and API, we should rebuild this