From ba818f4a129eadd679af704e756f633c4222832e Mon Sep 17 00:00:00 2001 From: heevasti Date: Mon, 18 Dec 2023 14:31:11 +0100 Subject: [PATCH] [QMI-0xx] Found a way to fix it. --- tests/core/test_transport.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/core/test_transport.py b/tests/core/test_transport.py index 4c9e8134..ab3f36dd 100644 --- a/tests/core/test_transport.py +++ b/tests/core/test_transport.py @@ -600,8 +600,7 @@ async def the_call(): except qmi.core.exceptions.QMI_TimeoutException as tim: # Catch this as some servers apparently fragment the message to be max of 4096 bytes, so it does not crash - print(len(trans._read_buffer)) - if len(trans._read_buffer) != 8096: + if len(trans._read_buffer) != 8092: raise AssertionError from tim if loop.is_running():