

def test_reorder_versions_does_not_change_modified_by(self):
    'Updating latest product version does not change modified_by.'
    u = self.F.UserFactory.create()
    p = self.F.ProductFactory.create(user=u)
    pv = self.F.ProductVersionFactory.create(product=p, user=u)
    pv.product.reorder_versions()
    self.assertEqual(self.refresh(pv).modified_by, u)
    self.assertEqual(self.refresh(p).modified_by, pv)

dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py ProductVersionTest.test_reorder_versions_does_not_change_modified_by/VarMisuse@95/133 `u`->`pv`