def test_object_from_id_type_1(self): g = DataObject.object_from_id('http://openworm.org/entities/Connection') self.assertIsInstance(g, Connection)
def test_object_from_id_type_1(self): g = DataObject.object_from_id( 'http://openworm.org/entities/Connection') self.assertIsInstance(g, Connection)
def test_object_from_id_type_0(self): g = DataObject.object_from_id('http://openworm.org/entities/Neuron') self.assertIsInstance(g, Neuron)
def test_object_from_id_type_0(self): g = DataObject.object_from_id('http://openworm.org/entities/Neuron') self.assertIsInstance(g, Neuron)