Public Member Functions | |
def | setUp (self) |
def | test_dispatch_can_be_created (self) |
def | test_run_raises_exception (self) |
Public Attributes | |
headless | |
Tests Dispatch functionality when it is not constructed with a serial port or an XBee
Definition at line 77 of file test_dispatch.py.
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.
xbee.helpers.dispatch.tests.test_dispatch.TestHeadlessDispatch.headless |
Definition at line 83 of file test_dispatch.py.