From 54f2fe6a92ef39db0d34acce85f27204cf3a661a Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Thu, 9 Feb 2023 23:05:41 +0100 Subject: [PATCH] attempt fixing ctest with socket dummy --- test/util_datac0.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/util_datac0.py b/test/util_datac0.py index 4bb5f71e..d54084e6 100644 --- a/test/util_datac0.py +++ b/test/util_datac0.py @@ -76,6 +76,9 @@ def t_setup( modem.RF.transmit = t_transmit t_modem.log = structlog.get_logger(f"station{station}_RF") + # Create socket + sock.ThreadedTCPServer(('localhost', 3000), sock.ThreadedTCPRequestHandler) + return tnc, orig_rx_func, orig_tx_func