예제 #1
0
 def setUp(self):
     self.atom_type = AtomType()
예제 #2
0
 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)
예제 #3
0
 def create_new_object_proxy(self):
     return AtomType(name="New Atom Type", parent=self.model)