Files
galaxy/test/unit/test_driver/test_driver_util.py
T

7 lines
159 B
Python

from galaxy_test.driver.driver_util import attempt_ports
def test_attempt_ports():
port = int(attempt_ports())
assert port >= 8000 and port <= 10000