Source

pyFirmata / tests.py

Author Commit Message Labels Comments Date
Tino de Bruijn
Fix issue #9, first pin in port not correctly set, with tests
Tino de Bruijn
Finished implementering servo handling as defined in Firmata 2.2
Branches
servo
Tino de Bruijn
Fixed send_sysex method. Values passed should be 7-bit bytes beforehand. Removed send_sysex from Pin as it is not logical to have it there, and it can always be accessed by Pin.board.send_sysex
Branches
servo
Tino de Bruijn
Separated Firmware and Firmata versions
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