Public Member Functions | Public Attributes | List of all members
xbee.tests.test_ieee.TestSendShorthand Class Reference
Inheritance diagram for xbee.tests.test_ieee.TestSendShorthand:
Inheritance graph
[legend]

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
 

Detailed Description

Tests shorthand for sending commands to an XBee provided by
XBee.__getattr__

Definition at line 436 of file test_ieee.py.

Member Function Documentation

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.

Member Data Documentation

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.


The documentation for this class was generated from the following file:


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Fri Jun 7 2019 22:03:11