Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Refactor import in api webhook tests
fowczrek542a5c339740
diff --git a/saleor/graphql/webhook/tests/test_pagination.py b/saleor/graphql/webhook/tests/test_pagination.pyindex 0cf356ce1b..faf2c0a7bf 100644--- a/saleor/graphql/webhook/tests/test_pagination.py+++ b/saleor/graphql/webhook/tests/test_pagination.py@@ -1,8 +1,8 @@import pytest-from saleor.app.models import App-from saleor.graphql.tests.utils import get_graphql_content-from saleor.webhook.models import Webhook+from ....app.models import App+from ....webhook.models import Webhook+from ...tests.utils import get_graphql_content@pytest.fixturediff --git a/saleor/graphql/webhook/tests/test_webhook.py b/saleor/graphql/webhook/tests/test_webhook.pyindex c9e1d283d5..2552b05323 100644--- a/saleor/graphql/webhook/tests/test_webhook.py+++ b/saleor/graphql/webhook/tests/test_webhook.py@@ -3,14 +3,11 @@ from unittest.mock import patchimport grapheneimport pytest-from saleor.app.models import App-from saleor.graphql.tests.utils import assert_no_permission, get_graphql_content-from saleor.graphql.webhook.enums import (- WebhookEventTypeEnum,- WebhookSampleEventTypeEnum,-)-from saleor.webhook.event_types import WebhookEventType-from saleor.webhook.models import Webhook+from ....app.models import App+from ....webhook.event_types import WebhookEventType+from ....webhook.models import Webhook+from ...tests.utils import assert_no_permission, get_graphql_content+from ..enums import WebhookEventTypeEnum, WebhookSampleEventTypeEnumWEBHOOK_CREATE_BY_APP = """mutation webhookCreate($name: String, $target_url: String,diff --git a/saleor/graphql/webhook/tests/test_webhook_deprecated_service_account.py b/saleor/graphql/webhook/tests/test_webhook_deprecated_service_account.pyindex 6798aab9c4..7ff8bce940 100644--- a/saleor/graphql/webhook/tests/test_webhook_deprecated_service_account.py+++ b/saleor/graphql/webhook/tests/test_webhook_deprecated_service_account.py@@ -1,11 +1,10 @@import grapheneimport pytest-from saleor.app.models import App-from saleor.graphql.tests.utils import assert_no_permission, get_graphql_content-from saleor.graphql.webhook.enums import WebhookEventTypeEnum-from saleor.webhook.models import Webhook-+from ....app.models import App+from ....webhook.models import Webhook+from ...tests.utils import assert_no_permission, get_graphql_content+from ..enums import WebhookEventTypeEnumfrom .test_webhook import QUERY_WEBHOOKS_WITH_SORTWEBHOOK_CREATE_BY_STAFF = """