Public Member Functions | |
def | test_invalid_checksum (self) |
def | test_remaining_bytes (self) |
def | test_single_byte (self) |
XBee class must be able to read and validate the data contained by a valid API frame.
Definition at line 29 of file test_frame.py.
def xbee.tests.test_frame.TestAPIFrameParsing.test_invalid_checksum | ( | self | ) |
when an invalid frame is read, an exception must be raised
Definition at line 68 of file test_frame.py.
def xbee.tests.test_frame.TestAPIFrameParsing.test_remaining_bytes | ( | self | ) |
remaining_bytes() should provide accurate indication of remaining bytes required before parsing a packet
Definition at line 35 of file test_frame.py.
def xbee.tests.test_frame.TestAPIFrameParsing.test_single_byte | ( | self | ) |
read a frame containing a single byte
Definition at line 53 of file test_frame.py.