Public Member Functions | |
def | setUp (self) |
def | test_send_at_command (self) |
def | test_send_at_command_with_param (self) |
def | test_shorthand_disabled (self) |
Public Attributes | |
ser | |
xbee | |
Tests shorthand for sending commands to an XBee provided by XBee.__getattr__
Definition at line 436 of file test_ieee.py.
def xbee.tests.test_ieee.TestSendShorthand.setUp | ( | self | ) |
Prepare a fake device to read from
Definition at line 442 of file test_ieee.py.
def xbee.tests.test_ieee.TestSendShorthand.test_send_at_command | ( | self | ) |
Send an AT command with a shorthand call
Definition at line 449 of file test_ieee.py.
def xbee.tests.test_ieee.TestSendShorthand.test_send_at_command_with_param | ( | self | ) |
calling send should write a full API frame containing the API AT command packet to the serial device.
Definition at line 460 of file test_ieee.py.
def xbee.tests.test_ieee.TestSendShorthand.test_shorthand_disabled | ( | self | ) |
When shorthand is disabled, any attempt at calling a non-existant attribute should raise AttributeError
Definition at line 473 of file test_ieee.py.
xbee.tests.test_ieee.TestSendShorthand.ser |
Definition at line 446 of file test_ieee.py.
xbee.tests.test_ieee.TestSendShorthand.xbee |
Definition at line 447 of file test_ieee.py.