<s> """<STR_LIT>""" <EOL> import unittest <EOL> from openmdao . util . network import get_unused_ip_port <EOL> class NetworkTestCase ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> pass <EOL> def tearDown ( self ) : <EOL> pass <EOL> def test_get_unused_ip_port ( self ) : <EOL> ip_port = get_unused_ip_port ( ) <EOL> self . assertTrue ( isinstance ( ip_port , int ) ) <EOL> self . assertTrue ( ip_port >= <NUM_LIT> ) <EOL> self . assertTrue ( ip_port <= <NUM_LIT> ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
