2025-01-30 13:47:07 +00:00
|
|
|
from util import LOGGER, start_cloudflared, wait_tunnel_ready
|
2022-09-28 19:25:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TestPostQuantum:
|
|
|
|
def _extra_config(self):
|
|
|
|
config = {
|
|
|
|
"protocol": "quic",
|
|
|
|
}
|
|
|
|
return config
|
|
|
|
|
|
|
|
def test_post_quantum(self, tmp_path, component_tests_config):
|
|
|
|
config = component_tests_config(self._extra_config())
|
|
|
|
LOGGER.debug(config)
|
2025-01-30 13:47:07 +00:00
|
|
|
with start_cloudflared(
|
|
|
|
tmp_path,
|
|
|
|
config,
|
|
|
|
cfd_pre_args=["tunnel", "--ha-connections", "1"],
|
|
|
|
cfd_args=["run", "--post-quantum"],
|
|
|
|
new_process=True,
|
|
|
|
):
|
|
|
|
wait_tunnel_ready(tunnel_url=config.get_url(), require_min_connections=1)
|