from app.core.proxy import pick_free_port def test_pick_free_high_port() -> None: port = pick_free_port(candidates=[49152, 49153]) assert 49152 <= port <= 49153