Source

pyFirmata / tests.py

Author Commit Message Labels Comments Date
Tino de Bruijn
Separated Firmware and Firmata versions While StandardFirmata firmwares are versioned according to the Protocol version, the firmware version can actually be distinct from the firmata protocol version.
Tino de Bruijn
added doctest running of util.py to testsuite
Tino de Bruijn
Factored out bytes utility functions to util. Also fixed the way the firmwarestring is read. Thanks to nickraptis
Tino de Bruijn
Added test receive_sysex_message
Tino de Bruijn
Fixed tests and adapted mockup to new layout argument
Tino de Bruijn
Made the byte processing a bit more efficient. The iterate call itself now grabs all the bytes the command handler needs
Tino de Bruijn
Fixed bug where a TypeError would not be caught when too much data was received
Tino de Bruijn
Fixed a small bug in the handling of incoming digital messages, that prevented correct values on ports higher than 0
Tino de Bruijn
fixed import and ignore
Tino de Bruijn
Added sysex handling, report_firmware, and tests for enabling/disabling reporting
Tino de Bruijn
Adapted to work with the correct message strings. Updated tests as well.
Tino de Bruijn
Improved tests. Made MockupSerial a deque.
Tino de Bruijn
split default testcase in two
Tino de Bruijn
added tests for default message handlers
Tino de Bruijn
got tests running again, for what it's worth
Tino de Bruijn
Inital commit of pyFirmata