core/tests/components
Guy Lowe a2dd017229
Add unit tests for SNMP integer Switches (#123094)
* Add unit tests for SNMP Switches (integer only)

* Add unit test for SNMP switches (integer unknown)

* log a warning when SNMP response is not a recognised payload

* Use a single configuration for all test_integer_switch tests

* Tweak unknown SNMP response warning

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* import STATE_ consts

* rename tests/components/snmp/test_integer_switch.py to test_switch.py

* check that a warning is logged if the SNMP response payload is unknown

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-08-06 11:56:39 +02:00
..
2024-06-08 17:59:08 +02:00
2024-07-04 21:27:56 +02:00
2024-06-28 10:46:02 +02:00
2024-06-08 17:59:08 +02:00
2024-06-08 17:59:08 +02:00
2024-07-07 16:34:05 +02:00
2024-07-24 21:40:05 +02:00
2024-06-06 17:24:48 +02:00
2024-06-28 10:46:02 +02:00
2024-07-19 18:25:07 +02:00
2024-06-08 17:59:08 +02:00
2024-08-02 12:17:51 +02:00
2024-07-10 21:53:11 +02:00
2024-08-02 08:48:41 +02:00
2024-06-08 17:59:08 +02:00
2024-05-24 10:36:59 +02:00
2024-06-08 17:59:08 +02:00
2024-07-10 23:08:25 +02:00
2024-06-08 17:59:08 +02:00
2024-06-08 17:59:08 +02:00
2024-06-30 20:38:35 +02:00
2024-07-16 22:36:31 +02:00
2024-06-08 17:59:08 +02:00
2024-07-22 13:09:08 +02:00
2024-06-08 17:59:08 +02:00
2024-07-24 20:37:38 +02:00