mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
attempt fixing ctests
This commit is contained in:
parent
03d4cce4a7
commit
ce19b9c2d9
1 changed files with 2 additions and 2 deletions
|
@ -287,7 +287,7 @@ def t_datac0_2(
|
||||||
|
|
||||||
# Allow enough time for this side to receive the disconnect frame.
|
# Allow enough time for this side to receive the disconnect frame.
|
||||||
timeout = time.time() + timeout_duration
|
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
|
sock.SOCKET_QUEUE.queue
|
||||||
), f"{item} found in {str(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!")
|
log.warning("station2: Exiting!")
|
||||||
|
|
Loading…
Reference in a new issue