-
- Downloads
Add test coverage for modbus switch (coil part) (#40696)
* Prepare test code for complex devices.
push entity_id to conftest, to make it common for all devices.
Add device to base_setup.
* Add test coverage for modbus switch (coil part).
* Update .coveragerc
* Update .coveragerc
Co-authored-by:
Chris Talkington <chris@talkingtontech.com>
Showing
- tests/components/modbus/conftest.py 29 additions, 14 deletionstests/components/modbus/conftest.py
- tests/components/modbus/test_modbus_binary_sensor.py 17 additions, 15 deletionstests/components/modbus/test_modbus_binary_sensor.py
- tests/components/modbus/test_modbus_sensor.py 184 additions, 202 deletionstests/components/modbus/test_modbus_sensor.py
- tests/components/modbus/test_modbus_switch.py 59 additions, 0 deletionstests/components/modbus/test_modbus_switch.py
Loading
Please register or sign in to comment