Commit graph

24 commits

Author SHA1 Message Date
Robert Resch
6b2a6549f2 fix shutdown mqtt server correctly 2022-05-18 01:39:36 +02:00
Robert Resch
6a58d8fb7f amqtt.client is not working correctly. Using gmqtt instead 2022-03-07 12:55:59 +01:00
Robert Resch
40c972e938 remove last star import 2022-03-06 15:29:16 +01:00
Robert Resch
3a4a70a6bb remove unused imports 2022-03-06 00:16:00 +01:00
Robert Resch
1e2d87efda improve code quality for mqtt server 2022-03-03 14:10:36 +01:00
Robert Resch
e65446515d don't expose mqtt client/broker outside the class 2022-03-03 12:11:08 +01:00
Robert Resch
226f7556ce resolve mypy issue on mqttserver.py 2022-01-30 22:33:31 +01:00
Robert Resch
c999be7057 migrate from hbmqtt to amqtt 2022-01-30 19:00:51 +01:00
Robert Resch
8642990b6e use asyncio_mode = auto and fixtures for mqtt and conf server 2022-01-30 14:52:08 +01:00
Robert Resch
ccca39761c run isort 2022-01-30 12:03:53 +01:00
Robert Resch
80f778c031 run black 2022-01-30 11:53:54 +01:00
Robert Resch
57f7490c92 fix tests 2022-01-30 11:41:56 +01:00
Robert Resch
04bd6b3ef0 run pyupgrade 2022-01-30 10:33:37 +01:00
Brian Martin
70fdfdb1b3 helperbot get_msg
- moved get_msg handler from helperbot to broker
2020-01-03 14:23:37 -05:00
Brian Martin
6da98acdad fix tests
- added kwargs for mqttserver init
  - passwd_file and allow_anonymous

- removed unused tests and sleeps
2020-01-03 08:57:02 -05:00
Brian Martin
cb693b5cf6 sleep a bit
tests work locally, seeing if added sleeps fix CI
2020-01-03 01:43:56 -05:00
Brian Martin
2fbfd4188a add tests for file auth
add tests for file auth
2019-12-30 11:36:38 -05:00
Brian Martin
5ac6663502 fix send_command payloadType
Used toType instead of payloadType...
2019-10-01 20:20:23 -04:00
Brian Martin
e233fe933e send_command json instead of str
send_command json instead of str
2019-10-01 16:27:58 -04:00
Brian Martin
58b3567887 split models and db from init
Move models into their own file
Move db functions into their own file
Update tests
2019-06-19 09:29:45 -04:00
Brian Martin
422a28cd8d fix tests
fix tests broken by lack of certs
- pytest.ini provides environment variables that load tests/test_certs
2019-06-07 02:00:42 -04:00
Brian Martin
2a4c369d58 add more xmpp tests
- test xmpp server
- test starttls upgrade
2019-06-04 22:20:11 -04:00
Brian Martin
105f0ad632 more mqtt tests
more mqtt tests
2019-06-04 17:29:39 -04:00
Brian Martin
0cb5c0b4f3 add test_mqttserver.py
add test_mqttserver.py
2019-06-04 09:57:45 -04:00