

def test_unique_constraint_with_unset_product(self):
    "Unique-check doesn't blow up if product is unset."
    new = self.model.ProductVersion()
    with self.assertRaises(ValidationError):
        new.full_clean()

dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py ProductVersionTest.test_unique_constraint_with_unset_product/original