core/tests/components/modbus
jan iversen 0ca19133d9
Add tests for modbus binary sensor (#40367)
* Add test coverage of binary sensor.

Update conftest to be generic.

* Pass total config structure to run_base_test.

Simple devices like sensor/switch do only have one entry in the
dict array, whereas e.g. switch have multiple entries.

* Use STATE_ON / _OFF for binary_sensor test.

* Update coveragerc

Only exclude files that uses a third party library.

* Remove modbus/* from coveragerc

* Remove modbus from .coveragerc

* Update .coveragerc

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-27 20:00:44 -05:00
..
__init__.py Fix 64-bit modbus sensor register reads (#25672) 2019-08-09 17:03:12 -07:00
conftest.py Add tests for modbus binary sensor (#40367) 2020-09-27 20:00:44 -05:00
test_modbus_binary_sensor.py Add tests for modbus binary sensor (#40367) 2020-09-27 20:00:44 -05:00
test_modbus_sensor.py Add tests for modbus binary sensor (#40367) 2020-09-27 20:00:44 -05:00