Commit graph

24 commits

Author SHA1 Message Date
brentru
2b66bbb26b adding in dummy account and unit testing for travis 2018-07-10 16:32:18 -04:00
brentru
439442d129 added extra data tests, fixed mqtt unit test 2018-07-10 16:19:21 -04:00
brentru
a77b311d7a all tests without expectedFailure pass 2018-07-10 13:56:44 -04:00
brentru
0495b89e95 refactoring and re-testing client unit tests for api-v2 release 2018-07-10 13:11:02 -04:00
brentru
8714a0ab7b enforce python version =>3.6 2018-07-10 12:08:47 -04:00
brentru
b5776e1f9a strict TLS/SLL check, unittest for secure/insecure mqtt client connections 2018-07-10 10:41:11 -04:00
brentru
e5fc14d473 testing/models explicit feed checks and group properties check 2018-07-09 17:44:44 -04:00
Justin Cooper
f9f659b7e8 drop retain in on_message 2017-06-29 11:48:25 -05:00
Justin Cooper
15122752da batch data test 2017-06-27 15:43:55 -05:00
Justin Cooper
c21867eb75 rename send to send_data and craete alias to send, rework readme 2017-06-27 15:39:56 -05:00
Justin Cooper
5ce57c2bc8 add username to client calls 2017-06-26 16:27:01 -05:00
Justin Cooper
085ba1ce58 add username to client call 2017-06-26 16:26:43 -05:00
Justin Cooper
f70273d8dd add retain in on_message test 2017-06-26 15:42:57 -05:00
Justin Cooper
a3dc09a8fd remove print statement 2017-06-26 15:42:39 -05:00
Justin Cooper
5ba915a4fd revert error condition 2017-06-26 15:20:13 -05:00
Justin Cooper
9111e3da5d initial api v2 support as default 2017-06-26 15:15:46 -05:00
Tony DiCola
8fd72c2482 Update to use new MQTT path with username. 2015-06-03 13:30:36 -07:00
Tony DiCola
59fdef442d Add client.append function for easily appending data to a feed. 2015-05-25 16:47:12 -07:00
Tony DiCola
9900d508f5 Major update:
- Refactored REST client to use requests library for Python 3 compatibility.
- Added docstrings to all public methods & classes.
- Fleshed out CRUD APIs for data, feed, group.
- Wrote full suite of integration tests to verify changes.
- Updated setup.py to bump version to 0.9 & depend on requests and paho-mqtt modules.
- Updated and tested code to work with both Python 2 and 3.
- Broke out errors into separate file, and added explicit data model classes.
- General cleanup and preparation for public release.
2015-02-01 12:22:03 -08:00
Tony DiCola
2ee81791a2 Comment out client test delay by default. 2015-01-27 21:57:03 -08:00
Tony DiCola
196f71dc51 Document, refactor slightly, and add tests to REST API client. 2015-01-27 21:52:25 -08:00
Tony DiCola
2c4bb7fb20 Add MQTT client and update tests. 2015-01-13 23:37:00 -08:00
Tony DiCola
2af9a0d65d Add custom Adafruit IO error types and raise them when requests fail. 2014-12-08 15:23:56 -08:00
Justin Cooper
300b268f6c initial working library 2014-05-27 11:23:53 -05:00