Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Move api core tests

fowczrekf7d4758efc96
diff --git a/saleor/graphql/core/tests/__init__.py b/saleor/graphql/core/tests/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/api/test_base_mutation.py b/saleor/graphql/core/tests/test_base_mutation.py
similarity index 100%
rename from tests/api/test_base_mutation.py
rename to saleor/graphql/core/tests/test_base_mutation.py
diff --git a/tests/api/test_core.py b/saleor/graphql/core/tests/test_core.py
similarity index 100%
rename from tests/api/test_core.py
rename to saleor/graphql/core/tests/test_core.py
diff --git a/tests/api/test_graphql.py b/saleor/graphql/core/tests/test_graphql.py
similarity index 100%
rename from tests/api/test_graphql.py
rename to saleor/graphql/core/tests/test_graphql.py
diff --git a/tests/api/test_meta_mutations.py b/saleor/graphql/core/tests/test_meta_mutations.py
similarity index 100%
rename from tests/api/test_meta_mutations.py
rename to saleor/graphql/core/tests/test_meta_mutations.py
diff --git a/tests/api/test_meta_queries.py b/saleor/graphql/core/tests/test_meta_queries.py
similarity index 100%
rename from tests/api/test_meta_queries.py
rename to saleor/graphql/core/tests/test_meta_queries.py
diff --git a/tests/api/test_middleware.py b/saleor/graphql/core/tests/test_middleware.py
similarity index 100%
rename from tests/api/test_middleware.py
rename to saleor/graphql/core/tests/test_middleware.py
diff --git a/tests/api/test_view.py b/saleor/graphql/core/tests/test_view.py
similarity index 98%
rename from tests/api/test_view.py
rename to saleor/graphql/core/tests/test_view.py
index 98ef270d19..71c5690aaf 100644
--- a/tests/api/test_view.py
+++ b/saleor/graphql/core/tests/test_view.py
@@ -6,9 +6,8 @@ from django.test import override_settings
from saleor.demo.views import EXAMPLE_QUERY
from saleor.graphql.product.types import Product
-
-from .fixtures import API_PATH
-from .utils import _get_graphql_content_from_response, get_graphql_content
+from tests.api.fixtures import API_PATH
+from tests.api.utils import _get_graphql_content_from_response, get_graphql_content
def test_batch_queries(category, product, api_client):