niolabs / python-xbee

Python tools for working with XBee radios
MIT License
101 stars 45 forks source link

Clean up xbee base unit tests #12

Open hansmosh opened 8 years ago

hansmosh commented 8 years ago
  1. We shouldn't need to be calling into private methods like _write: https://github.com/nioinnovation/python-xbee/blob/master/xbee/tests/test_base.py#L28
  2. Are these _write tests even necessary? ieee tests use send which calls into write so it seems like _write is just being tested unnecessarily here.