

def test_unique_constraint_doesnt_prevent_edit(self):
    'Unique constraint still allows saving an edited existing object.'
    pv = self.F.ProductVersionFactory.create()
    pv.codename = 'new codename'
    self.full_clean()

dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py ProductVersionTest.test_unique_constraint_doesnt_prevent_edit/VarMisuse@30/63 `pv`->`self`