Skip to content

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

Fix creating product without category

Damian W4fc25816c100
diff --git a/tests/api/test_product.py b/tests/api/test_product.py
index 7e80874007..11f02301b4 100644
--- a/tests/api/test_product.py
+++ b/tests/api/test_product.py
@@ -1062,7 +1062,6 @@ def test_create_product_no_category_id(
description_json,
permission_manage_products,
monkeypatch,
-
):
query = CREATE_PRODUCT_MUTATION
@@ -1071,7 +1070,7 @@ def test_create_product_no_category_id(
product_is_published = False
product_tax_rate = "STANDARD"
product_price = "22.33"
- input_slug = 'test-slug'
+ input_slug = "test-slug"
# Mock tax interface with fake response from tax gateway
monkeypatch.setattr(