def setUp(self): self.atom_type = AtomType()
def test_parent(self): parent_atom_type = AtomType(name="Parent") self.atom_type.parent = parent_atom_type self.assertEqual(self.atom_type.parent, parent_atom_type)
def create_new_object_proxy(self): return AtomType(name="New Atom Type", parent=self.model)