diff --git a/tests/reverse/test_catalogue.py b/tests/reverse/test_catalogue.py index f5e8dba..9e8bcb1 100644 --- a/tests/reverse/test_catalogue.py +++ b/tests/reverse/test_catalogue.py @@ -995,6 +995,18 @@ def test_product_import_with_non_existent_product_class(self): slug="better", ), ), + ProductResource( + upc="testing", + title="Testing", + slug="testing", + structure=Product.STANDALONE, + product_class=ProductClassResource( + name="Nice", + slug="nice", + requires_shipping=True, + track_stock=True, + ), + ), ] # i.e, ProductClass with slug="better" not found. with self.assertRaises(Exception):