Skip to content

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

Move api menu tests

fowczrek19ff69c5ad64
diff --git a/saleor/graphql/menu/tests/__init__.py b/saleor/graphql/menu/tests/__init__.py
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/api/test_menu.py b/saleor/graphql/menu/tests/test_menu.py
similarity index 99%
rename from tests/api/test_menu.py
rename to saleor/graphql/menu/tests/test_menu.py
index 16dc091e06..c162a212ee 100644
--- a/tests/api/test_menu.py
+++ b/saleor/graphql/menu/tests/test_menu.py
@@ -7,9 +7,7 @@ from django.core.exceptions import ValidationError
from saleor.graphql.menu.mutations import NavigationType, _validate_menu_item_instance
from saleor.menu.models import Menu, MenuItem
from saleor.product.models import Category
-from tests.api.utils import get_graphql_content
-
-from .utils import assert_no_permission, menu_item_to_json
+from tests.api.utils import assert_no_permission, get_graphql_content, menu_item_to_json
def test_validate_menu_item_instance(category, page):