From 0bc279ce504da8f70913287a2ec9568282d1a675 Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Tue, 19 Dec 2023 09:56:41 -0600 Subject: [PATCH] tests: Add bare minimum coverage for Device.self_test_device() (#463) Signed-off-by: Brad Keryan --- tests/component/system/test_device.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/component/system/test_device.py b/tests/component/system/test_device.py index f4f099a4..0bb805ba 100644 --- a/tests/component/system/test_device.py +++ b/tests/component/system/test_device.py @@ -29,3 +29,7 @@ def test___devices_with_different_names___hash___not_equal(init_kwargs): device2 = Device("tsVoltageTester1", **init_kwargs) assert hash(device1) != hash(device2) + + +def test___self_test_device___no_errors(any_x_series_device: Device) -> None: + any_x_series_device.self_test_device()