add unit tests for modbus

This commit is contained in:
Stefan Allius
2024-05-05 20:20:19 +02:00
parent 29ee540a19
commit bf0f152d5a
4 changed files with 37 additions and 10 deletions

View File

@@ -224,7 +224,7 @@ def test_send_inv_data(ClientConnection, MsgTimeStampReq, MsgTimeStampResp, MsgI
data = s.recv(1024)
except TimeoutError:
pass
# time.sleep(32.5)
time.sleep(32.5)
# assert data == MsgTimeStampResp
try:
s.sendall(MsgInvData)