Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Refactor import in api discount tests
fowczrek56edef352b2d
diff --git a/saleor/graphql/discount/tests/test_bulk_delete.py b/saleor/graphql/discount/tests/test_bulk_delete.pyindex 7d9b3d856c..030460f5fc 100644--- a/saleor/graphql/discount/tests/test_bulk_delete.py+++ b/saleor/graphql/discount/tests/test_bulk_delete.py@@ -1,8 +1,8 @@import grapheneimport pytest-from saleor.discount.models import Sale, Voucher-from saleor.graphql.tests.utils import get_graphql_content+from ....discount.models import Sale, Voucher+from ...tests.utils import get_graphql_content@pytest.fixturediff --git a/saleor/graphql/discount/tests/test_discount.py b/saleor/graphql/discount/tests/test_discount.pyindex a8106aa4fe..1e00ba1614 100644--- a/saleor/graphql/discount/tests/test_discount.py+++ b/saleor/graphql/discount/tests/test_discount.py@@ -6,11 +6,11 @@ import pytestfrom django.utils import timezonefrom django_countries import countries-from saleor.discount import DiscountValueType, VoucherType-from saleor.discount.error_codes import DiscountErrorCode-from saleor.discount.models import Sale, Voucher-from saleor.graphql.discount.enums import DiscountValueTypeEnum, VoucherTypeEnum-from saleor.graphql.tests.utils import get_graphql_content+from ....discount import DiscountValueType, VoucherType+from ....discount.error_codes import DiscountErrorCode+from ....discount.models import Sale, Voucher+from ...discount.enums import DiscountValueTypeEnum, VoucherTypeEnum+from ...tests.utils import get_graphql_content@pytest.fixturediff --git a/saleor/graphql/discount/tests/test_pagination.py b/saleor/graphql/discount/tests/test_pagination.pyindex 87d29ecaab..02c9f2d8eb 100644--- a/saleor/graphql/discount/tests/test_pagination.py+++ b/saleor/graphql/discount/tests/test_pagination.py@@ -4,9 +4,9 @@ import pytestfrom django.utils import timezonefrom freezegun import freeze_time-from saleor.discount import DiscountValueType, VoucherType-from saleor.discount.models import Sale, Voucher-from saleor.graphql.tests.utils import get_graphql_content+from ....discount import DiscountValueType, VoucherType+from ....discount.models import Sale, Voucher+from ...tests.utils import get_graphql_content@pytest.fixture