We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8040739 commit 1b54029Copy full SHA for 1b54029
tests/reverse/test_catalogue.py
@@ -243,7 +243,9 @@ def test_resource_default_value(self):
243
244
product_resource = ProductResource(upc="1234", is_discountable=True)
245
_, errors = products_to_db(
246
- product_resource, fields_to_update=[PRODUCT_IS_DISCOUNTABLE]
+ product_resource,
247
+ fields_to_update=[PRODUCT_IS_DISCOUNTABLE],
248
+ clean_instances=False,
249
)
250
self.assertEqual(len(errors), 0)
251
prd.refresh_from_db()
0 commit comments