def test_get_unused_ip_port(self):
        ip_port = get_unused_ip_port()
        self.assertTrue( isinstance( ip_port, int ) )
        # actually, in practice the range does not go that low but it varies from system to system
        self.assertTrue( ip_port >= 1024 ) 
        self.assertTrue( ip_port <= 65535 )
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.util/src/openmdao/util/test/test_network.py/NetworkTestCase.test_get_unused_ip_port/original