Skip to content

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

Remove not needed assert

Adam Janik4f3ea6d218aa
diff --git a/tests/api/test_product.py b/tests/api/test_product.py
index 171df00ade..176485aace 100644
--- a/tests/api/test_product.py
+++ b/tests/api/test_product.py
@@ -1258,7 +1258,6 @@ def test_product_type_update_changes_variant_name(
attribute = product.product_type.variant_attributes.first()
value = attribute.values.first().name
assert variant.name == value
- assert not variant.name == 'test name'
def test_update_variants_changed_does_nothing_with_no_attributes():