From ce19b9c2d90c73c11d846f02e28dd7811e601079 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sun, 4 Dec 2022 09:51:50 +0100 Subject: [PATCH] attempt fixing ctests --- test/util_datac0_negative.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/util_datac0_negative.py b/test/util_datac0_negative.py index d1252e8d..58600fb7 100644 --- a/test/util_datac0_negative.py +++ b/test/util_datac0_negative.py @@ -287,7 +287,7 @@ def t_datac0_2( # Allow enough time for this side to receive the disconnect frame. timeout = time.time() + timeout_duration - while '"arq":"session", "dxcallsign": "AA2BB-0", "status":"close"' not in str(sock.SOCKET_QUEUE.queue): + while '"arq":"session", "dxcallsign":"AA2BB-0", "status":"close"' not in str(sock.SOCKET_QUEUE.queue): @@ -306,5 +306,5 @@ def t_datac0_2( sock.SOCKET_QUEUE.queue ), f"{item} found in {str(sock.SOCKET_QUEUE.queue)}" - assert '"arq":"session", "dxcallsign": "AA2BB-0", "status":"close"' in str(sock.SOCKET_QUEUE.queue) + assert '"arq":"session", "dxcallsign":"AA2BB-0", "status":"close"' in str(sock.SOCKET_QUEUE.queue) log.warning("station2: Exiting!")