vpn/tests/test_proxy.py
2026-09-23 01:19:36 +00:00

6 lines
171 B
Python

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