From 4ca38f227a8694c998ca94e7fd09a2621411bdab Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Sun, 9 Jun 2024 19:21:37 +0200 Subject: [PATCH] Fix - Remove unneeded assert in teslemetry test (#119219) Remove unneded assert in teslemetry test --- tests/components/teslemetry/test_climate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/components/teslemetry/test_climate.py b/tests/components/teslemetry/test_climate.py index 1ea21554659..a737fc9f376 100644 --- a/tests/components/teslemetry/test_climate.py +++ b/tests/components/teslemetry/test_climate.py @@ -194,7 +194,7 @@ async def test_climate( with pytest.raises( ServiceValidationError, match="Cabin overheat protection does not support that temperature", - ) as error: + ): # Invalid Temp await hass.services.async_call( CLIMATE_DOMAIN, @@ -202,7 +202,6 @@ async def test_climate( {ATTR_ENTITY_ID: [entity_id], ATTR_TEMPERATURE: 25}, blocking=True, ) - assert error @pytest.mark.usefixtures("entity_registry_enabled_by_default")