Public Member Functions | Public Attributes | List of all members
xbee.helpers.dispatch.tests.test_dispatch.TestHeadlessDispatch Class Reference
Inheritance diagram for xbee.helpers.dispatch.tests.test_dispatch.TestHeadlessDispatch:
Inheritance graph
[legend]

Public Member Functions

def setUp (self)
 
def test_dispatch_can_be_created (self)
 
def test_run_raises_exception (self)
 

Public Attributes

 headless
 

Detailed Description

Tests Dispatch functionality when it is not constructed with a serial
port or an XBee

Definition at line 77 of file test_dispatch.py.

Member Function Documentation

def xbee.helpers.dispatch.tests.test_dispatch.TestHeadlessDispatch.setUp (   self)

Definition at line 82 of file test_dispatch.py.

def xbee.helpers.dispatch.tests.test_dispatch.TestHeadlessDispatch.test_dispatch_can_be_created (   self)
A user may construct a Dispatch with neither a serial port nor
an XBee. This allows one to configure an XBee to asynchronously
call dispatch() whenever a packet arrives.

Definition at line 85 of file test_dispatch.py.

def xbee.helpers.dispatch.tests.test_dispatch.TestHeadlessDispatch.test_run_raises_exception (   self)
A ValueError must be raised by a headless Dispatch instance if
a user attempts to call run().

Definition at line 93 of file test_dispatch.py.

Member Data Documentation

xbee.helpers.dispatch.tests.test_dispatch.TestHeadlessDispatch.headless

Definition at line 83 of file test_dispatch.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