def test_registry_ports_can_connect(self):
        descriptor = self.registry.get_descriptor_by_name( \
                            get_vistrails_basic_pkg_id(), 'String')
        oport = self.registry.source_ports_from_descriptor(descriptor)[0]
        iport = self.registry.destination_ports_from_descriptor(descriptor)[0]
        assert self.registry.ports_can_connect(oport, iport)
Returns a random negative integer based on the current platform.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/vistrail/port.py/TestPort.test_registry_ports_can_connect--crossover with--dataset/ETHPy150Open omaciel/fauxfactory/fauxfactory/__init__.py/gen_negative_integer