diff --git a/tests/test_devices.py b/tests/test_devices.py index 4f6bb939..c47fb9d1 100644 --- a/tests/test_devices.py +++ b/tests/test_devices.py @@ -560,7 +560,7 @@ async def test_set(ecomax: EcoMAX, messages: dict[FrameType, bytearray]) -> None async def test_turn_on(ecomax: EcoMAX, caplog) -> None: """Test turning the controller on.""" assert not await ecomax.turn_on() - assert "ecoMAX control is not available" in caplog.text + assert "ecoMAX control isn't available" in caplog.text ecomax.data[ATTR_ECOMAX_CONTROL] = AsyncMock() assert await ecomax.turn_on() ecomax.data[ATTR_ECOMAX_CONTROL].turn_on.assert_awaited_once() @@ -569,7 +569,7 @@ async def test_turn_on(ecomax: EcoMAX, caplog) -> None: async def test_turn_off(ecomax: EcoMAX, caplog) -> None: """Test turning the controller off.""" await ecomax.turn_off() - assert "ecoMAX control is not available" in caplog.text + assert "ecoMAX control isn't available" in caplog.text ecomax.data[ATTR_ECOMAX_CONTROL] = AsyncMock() await ecomax.turn_off() ecomax.data[ATTR_ECOMAX_CONTROL].turn_off.assert_awaited_once()