

def test_own_team(self):
    "If ``has_team`` is True, ProductVersion's team is its own."
    pv = self.F.ProductVersionFactory.create(has_team=True)
    u = self.F.UserFactory.create()
    u.own_team.add(u)
    self.assertEqual(list(pv.team.all()), [u])

dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py ProductVersionTest.test_own_team/VarMisuse@39/72 `pv`->`u`