import canTest def ePromTest(): print("start eprom test") message = [4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] canTest.waitForUserInput(True) canTest.sendMessageOnCan(message) answer = canTest.recive() print("ePromTest reult {}".format(str(answer.data) == "bytearray(b'iiiiBiii')")) print("I am done with this shit")