Skip to content

Commit

Permalink
Updated mock
Browse files Browse the repository at this point in the history
  • Loading branch information
andylockran committed Feb 5, 2024
1 parent 1300191 commit ad57654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/serial_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def process_message(self, message):
else:
logging.debug(data[3])
logging.error("Cannot process message")
exit(1)
raise Exception("Invalid functionCode, must be 1 or 0 for write or read.")


MockSerialPort = MockSerial()
Expand Down

0 comments on commit ad57654

Please sign in to comment.