

def test_clone_team(self):
    'Cloning a ProductVersion clones its team.'
    pv = self.F.ProductVersionFactory(team=['One', 'Two'])
    new = pv.clone()
    self.assertEqual(len(new.team.all()), 2)

dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py ProductVersionTest.test_clone_team/original