def test_copy(self):
        
        id_scope = IdScope()
        m1 = self.create_group(id_scope)
        m2 = copy.copy(m1)
        self.assertEquals(m1, m2)
        self.assertEquals(m1.id, m2.id)
        m3 = m1.do_copy(True, id_scope, {})
        self.assertEquals(m1, m3)
        self.assertNotEquals(m1.id, m3.id)
Check that copy works correctly
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/vistrail/group.py/TestGroup.test_copy