hass-core/tests/components/mqtt
Michael ce19e6367f Catch MQTT encoding errors (#3749)
* added error handling to mqtt message receive if payload is not utf-8 unicode
added mqtt test for above code as well

* change permission back to 644

* attempting to test new code

* changed exception to AttributeError
fixed test for above

* fixed lint errors I made in tests....mqtt/test_init.py

* more lint fixes for my added test

* remove dual decode of MQTT payload

* convert if to try, except, else statement for mqtt payload decode

* rework mqtt unicode testing code to properly check for log file entriy on unicode decode exception

* fixed lint error

* Update test_init.py
2016-10-14 21:08:44 -07:00
..
__init__.py Tweak Recorder 2016-07-11 08:56:07 -07:00
test_init.py Catch MQTT encoding errors (#3749) 2016-10-14 21:08:44 -07:00
test_server.py Speed up MQTT server test (#3703) 2016-10-04 22:49:43 -07:00