Fix - Remove unneeded assert in teslemetry test (#119219)

Remove unneded assert in teslemetry test
pull/119211/head^2
Jan Bouwhuis 2024-06-09 19:21:37 +02:00 committed by GitHub
parent 7065c0993d
commit 4ca38f227a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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")