xbee::tests::test_ieee::TestSendShorthand Class Reference

List of all members.

Public Member Functions

def setUp
def test_send_at_command
def test_send_at_command_with_param
def test_shorthand_disabled

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

Definition at line 446 of file test_ieee.py.

Definition at line 447 of file test_ieee.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Fri Jan 11 09:42:34 2013