

def test_unique_constraint_ignores_deleted(self):
    "Deleted version doesn't prevent new with same product, version."
    pv = self.F.ProductVersionFactory.create()
    pv.delete()
    self.F.ProductVersionFactory.create(version=pv.version, product=self.product)

dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py ProductVersionTest.test_unique_constraint_ignores_deleted/VarMisuse@46/77 `pv`->`self`