2cc38b426a
* Add XML support to RESTful binary sensor * Add test for binary sensor with XML input data * Address mypy validation results by handling None returns * Use proper incorrect XML instead of blank * Change failure condition to match the behavior of the library method * Change error handling for bad XML to expect ExpatError * Parametrize bad XML test to catch both empty and invalid XML * Move exception handling out of the shared method --------- Co-authored-by: Erik Montnemery <erik@montnemery.com> |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
test_binary_sensor.py | ||
test_init.py | ||
test_notify.py | ||
test_sensor.py | ||
test_switch.py |