Skip to content

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

Change lambda's argument name

dzkbef09dacbde55
diff --git a/tests/api/test_product.py b/tests/api/test_product.py
index f09d760150..8cb1e9b5bd 100644
--- a/tests/api/test_product.py
+++ b/tests/api/test_product.py
@@ -1124,7 +1124,7 @@ def test_product_create_with_collections_webhook(
monkeypatch.setattr(
"saleor.extensions.manager.ExtensionsManager.product_created",
- lambda cls, product: assert_product_has_collections(product),
+ lambda _, product: assert_product_has_collections(product),
)
product_type_id = graphene.Node.to_global_id("ProductType", product_type.pk)