Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Move api webhook tests
fowczrekf9d669c90370
diff --git a/saleor/graphql/webhook/tests/__init__.py b/saleor/graphql/webhook/tests/__init__.pynew file mode 100644index 0000000000..e69de29bb2diff --git a/tests/api/test_webhook.py b/saleor/graphql/webhook/tests/test_webhook.pysimilarity index 99%rename from tests/api/test_webhook.pyrename to saleor/graphql/webhook/tests/test_webhook.pyindex bb0b902a38..cf562d3d6f 100644--- a/tests/api/test_webhook.py+++ b/saleor/graphql/webhook/tests/test_webhook.py@@ -10,8 +10,7 @@ from saleor.graphql.webhook.enums import ()from saleor.webhook.event_types import WebhookEventTypefrom saleor.webhook.models import Webhook--from .utils import assert_no_permission, get_graphql_content+from tests.api.utils import assert_no_permission, get_graphql_contentWEBHOOK_CREATE_BY_APP = """mutation webhookCreate($name: String, $target_url: String,diff --git a/tests/api/test_webhook_deprecated_service_account.py b/saleor/graphql/webhook/tests/test_webhook_deprecated_service_account.pysimilarity index 98%rename from tests/api/test_webhook_deprecated_service_account.pyrename to saleor/graphql/webhook/tests/test_webhook_deprecated_service_account.pyindex 2f5eaaecf8..7758a85224 100644--- a/tests/api/test_webhook_deprecated_service_account.py+++ b/saleor/graphql/webhook/tests/test_webhook_deprecated_service_account.py@@ -4,9 +4,9 @@ import pytestfrom saleor.app.models import Appfrom saleor.graphql.webhook.enums import WebhookEventTypeEnumfrom saleor.webhook.models import Webhook+from tests.api.utils import assert_no_permission, get_graphql_contentfrom .test_webhook import QUERY_WEBHOOKS_WITH_SORT-from .utils import assert_no_permission, get_graphql_contentWEBHOOK_CREATE_BY_STAFF = """mutation webhookCreate(