Skip to content

Commit 1b54029

Browse files
committed
tests ✅ dont clean if there is no structure
1 parent 8040739 commit 1b54029

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/reverse/test_catalogue.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,9 @@ def test_resource_default_value(self):
243243

244244
product_resource = ProductResource(upc="1234", is_discountable=True)
245245
_, errors = products_to_db(
246-
product_resource, fields_to_update=[PRODUCT_IS_DISCOUNTABLE]
246+
product_resource,
247+
fields_to_update=[PRODUCT_IS_DISCOUNTABLE],
248+
clean_instances=False,
247249
)
248250
self.assertEqual(len(errors), 0)
249251
prd.refresh_from_db()

0 commit comments

Comments
 (0)