def test_serialization(self):
        import vistrails.core.db.io

        m1 = self.create_group()
        xml_str = vistrails.core.db.io.serialize(m1)
        m2 = vistrails.core.db.io.unserialize(xml_str, Group)
        self.assertEquals(m1, m2)
        self.assertEquals(m1.id, m2.id)
Check that serialize and unserialize are working properly
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/vistrail/group.py/TestGroup.test_serialization