Andrew Scheller
72ca075668
fix various bugs found by the 'prospector' static-analysis tool
2016-04-07 17:58:51 +01:00
Dave Jones
3acf8a0d3a
More work on the tests...
2016-04-05 13:22:40 +01:00
Dave Jones
92d80d2ae6
Some more tests...
2016-04-05 02:22:38 +01:00
Andrew Scheller
741a8ec7f3
More small MockPin tweaks
2016-02-21 01:24:10 +00:00
Andrew Scheller
c0d70f35f6
MockPin improvements
...
Change MockPin (and MockPWMPin) to make them behave more like 'real' pins - fixes #206
Add new MockPin tests, and rework some of the existing ones
Incorporate #216
2016-02-21 00:35:01 +00:00
Andrew Scheller
768a27a71b
MockPin fixups
...
* alter the PinSetInput exception message to match other `Pin` implementations
* constrain the state of MockPin to a `bool`, and the state of MockPWMPin to a `float`
* allow MockPin to have a `None` frequency set, matching the docs http://gpiozero.readthedocs.org/en/latest/api_pins.html#gpiozero.pins.Pin.frequency
2016-02-20 17:32:11 +00:00
Dave Jones
1f2140a9f5
Work on #87
...
Implement a test suite, including Travis-CI integration
2016-02-11 21:11:22 +00:00