diff --git a/test/util_arq_chat_file_1.py b/test/util_arq_chat_file_1.py index 0da23135..7fcda96c 100644 --- a/test/util_arq_chat_file_1.py +++ b/test/util_arq_chat_file_1.py @@ -32,6 +32,7 @@ def t_highsnr_arq_short_station1( mycall: str, dxcall: str, message: str, + lowbwmode: bool, ): log = structlog.get_logger(__name__) orig_tx_func: object @@ -70,10 +71,11 @@ def t_highsnr_arq_short_station1( # enable testmode data_handler.TESTMODE = True - modem.TESTMODE = True modem.RXCHANNEL = "/tmp/hfchannel1" + modem.TESTMODE = True modem.TXCHANNEL = "/tmp/hfchannel2" static.HAMLIB_RADIOCONTROL = "disabled" + static.LOW_BANDWITH_MODE = lowbwmode static.MYGRID = bytes("AA12aa", "utf-8") static.RESPOND_TO_CQ = True diff --git a/test/util_arq_chat_file_2.py b/test/util_arq_chat_file_2.py index fd25d7fe..a8937fc4 100644 --- a/test/util_arq_chat_file_2.py +++ b/test/util_arq_chat_file_2.py @@ -32,6 +32,7 @@ def t_highsnr_arq_short_station2( mycall: str, dxcall: str, message: str, + lowbwmode: bool, ): log = structlog.get_logger(__name__) orig_tx_func: object @@ -70,10 +71,11 @@ def t_highsnr_arq_short_station2( # enable testmode data_handler.TESTMODE = True - modem.TESTMODE = True modem.RXCHANNEL = "/tmp/hfchannel2" + modem.TESTMODE = True modem.TXCHANNEL = "/tmp/hfchannel1" static.HAMLIB_RADIOCONTROL = "disabled" + static.LOW_BANDWITH_MODE = lowbwmode static.MYGRID = bytes("AA12aa", "utf-8") static.RESPOND_TO_CQ = True diff --git a/test/wip_test_arq_file.py b/test/wip_test_arq_file.py index 644955d1..7e1cca57 100644 --- a/test/wip_test_arq_file.py +++ b/test/wip_test_arq_file.py @@ -65,7 +65,8 @@ def analyze_results(station1: list, station2: list): # @pytest.mark.parametrize("n_frames_per_burst", [1, 2, 3]) @pytest.mark.parametrize("freedv_mode", ["datac3"]) @pytest.mark.parametrize("n_frames_per_burst", [2]) -def test_arq_short(freedv_mode: str, n_frames_per_burst: int): +@pytest.mark.parametrize("lowbwmode", [False, True]) +def test_arq_short(freedv_mode: str, n_frames_per_burst: int, lowbwmode: bool): log = structlog.get_logger(__name__) s1_data = [] @@ -103,6 +104,7 @@ def test_arq_short(freedv_mode: str, n_frames_per_burst: int): STATIONS[0], STATIONS[1], messages[0], + lowbwmode, ), daemon=True, ), @@ -115,6 +117,7 @@ def test_arq_short(freedv_mode: str, n_frames_per_burst: int): STATIONS[1], STATIONS[0], messages[0], + lowbwmode, ), daemon=True, ),