Public Member Functions | |
def | setUp |
def | tearDown |
def | test_provide_callback |
Public Attributes | |
callback | |
serial | |
xbee |
XBeeBase constructor should accept an optional callback function argument. When provided, this will put the module into a threaded mode, in which it will call the provided function with any API frame data received. As it would be very difficult to sanely test an asynchonous callback routine with a synchronous test process, proper callback behavior is not tested automatically at this time. Theoretically, the callback implementation logic is simple, but use it at your own risk.
Definition at line 138 of file test_base.py.
def xbee.tests.test_base.TestAsyncCallback.setUp | ( | self | ) |
Definition at line 151 of file test_base.py.
def xbee.tests.test_base.TestAsyncCallback.tearDown | ( | self | ) |
Definition at line 156 of file test_base.py.
XBeeBase constructor should accept a callback function
Definition at line 160 of file test_base.py.
Definition at line 151 of file test_base.py.
Definition at line 151 of file test_base.py.
Definition at line 151 of file test_base.py.