Example #1
0
 def test_object_from_id_type_1(self):
     g = DataObject.object_from_id('http://openworm.org/entities/Connection')
     self.assertIsInstance(g, Connection)
Example #2
0
 def test_object_from_id_type_1(self):
     g = DataObject.object_from_id(
         'http://openworm.org/entities/Connection')
     self.assertIsInstance(g, Connection)
Example #3
0
 def test_object_from_id_type_0(self):
     g = DataObject.object_from_id('http://openworm.org/entities/Neuron')
     self.assertIsInstance(g, Neuron)
Example #4
0
 def test_object_from_id_type_0(self):
     g = DataObject.object_from_id('http://openworm.org/entities/Neuron')
     self.assertIsInstance(g, Neuron)