Skip to content

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

Move api warehouse tests

fowczrek8a99b7e210fc
diff --git a/saleor/graphql/warehouse/tests/__init__.py b/saleor/graphql/warehouse/tests/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/api/test_stock.py b/saleor/graphql/warehouse/tests/test_stock.py
similarity index 97%
rename from tests/api/test_stock.py
rename to saleor/graphql/warehouse/tests/test_stock.py
index 5dfa3d5d4b..cbffdecbad 100644
--- a/tests/api/test_stock.py
+++ b/saleor/graphql/warehouse/tests/test_stock.py
@@ -2,9 +2,8 @@ import graphene
from saleor.core.permissions import ProductPermissions
from saleor.warehouse.models import Stock
-
-from ..utils import get_quantity_allocated_for_stock
-from .utils import assert_no_permission, get_graphql_content
+from tests.api.utils import assert_no_permission, get_graphql_content
+from tests.utils import get_quantity_allocated_for_stock
QUERY_STOCK = """
query stock($id: ID!) {
diff --git a/tests/api/test_warehouse.py b/saleor/graphql/warehouse/tests/test_warehouse.py
similarity index 100%
rename from tests/api/test_warehouse.py
rename to saleor/graphql/warehouse/tests/test_warehouse.py