def test_copy_consistency(self): atom = Atom('/datum/test',__file__,0) atom.properties={ 'dir': BYONDValue(2), 'name': BYONDString('test datum') } atom.mapSpecified=['dir','name'] atom2=atom.copy() atom_serialized=atom.MapSerialize() atom2_serialized=atom2.MapSerialize() self.assertEqual(atom_serialized, atom2_serialized)