

def test_clone_environments(self):
    'Cloning a ProductVersion clones its environments.'
    pv = self.F.ProductVersionFactory(environments={
        'OS': ['OS X', 'Linux'],
    })
    new = pv.clone()
    self.assertEqual(len(new.environments.all()), 2)

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