def test_unique_constraint_ignores_deleted(self):
        pv = self.F.ProductVersionFactory.create()
        pv.delete()

        self.F.ProductVersionFactory.create(version=pv.version, product=pv.product)
Deleted version doesn't prevent new with same product, version.
dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py/ProductVersionTest.test_unique_constraint_ignores_deleted