mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 22:07:10 +00:00
Fix - Remove unneeded assert in teslemetry test (#119219)
Remove unneded assert in teslemetry test
This commit is contained in:
parent
7065c0993d
commit
4ca38f227a
@ -194,7 +194,7 @@ async def test_climate(
|
|||||||
with pytest.raises(
|
with pytest.raises(
|
||||||
ServiceValidationError,
|
ServiceValidationError,
|
||||||
match="Cabin overheat protection does not support that temperature",
|
match="Cabin overheat protection does not support that temperature",
|
||||||
) as error:
|
):
|
||||||
# Invalid Temp
|
# Invalid Temp
|
||||||
await hass.services.async_call(
|
await hass.services.async_call(
|
||||||
CLIMATE_DOMAIN,
|
CLIMATE_DOMAIN,
|
||||||
@ -202,7 +202,6 @@ async def test_climate(
|
|||||||
{ATTR_ENTITY_ID: [entity_id], ATTR_TEMPERATURE: 25},
|
{ATTR_ENTITY_ID: [entity_id], ATTR_TEMPERATURE: 25},
|
||||||
blocking=True,
|
blocking=True,
|
||||||
)
|
)
|
||||||
assert error
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("entity_registry_enabled_by_default")
|
@pytest.mark.usefixtures("entity_registry_enabled_by_default")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user