We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ebdb7c commit 9bac460Copy full SHA for 9bac460
test/test_framers.py
@@ -402,3 +402,9 @@ def _handle_response(_reply):
402
framer = ModbusSocketFramer(ClientDecoder())
403
framer.processIncomingPacket(message, _handle_response, slave=0)
404
assert response_ok, "Response is valid, but not accepted"
405
+
406
+ message = bytearray(b"\x00\x01\x00\x00\x00\x0b\x01\x03\x08\x00\xb5\x12\x2f\x37\x21\x00\x03")
407
+ response_ok = False
408
+ framer = ModbusSocketFramer(ClientDecoder())
409
+ framer.processIncomingPacket(message, _handle_response, slave=0)
410
+ assert response_ok, "Response is valid, but not accepted"
0 commit comments