Clean up WebOS TV unneccesary async_block_till_done calls (#118142)

This commit is contained in:
Shay Levy
2024-05-26 00:37:44 +03:00
committed by GitHub
parent 991d6d92db
commit 6a0e7cfea5
2 changed files with 0 additions and 4 deletions

View File

@@ -92,7 +92,6 @@ async def test_if_fires_on_turn_on_request(hass: HomeAssistant, calls, client) -
blocking=True,
)
await hass.async_block_till_done()
assert len(calls) == 2
assert calls[0].data["some"] == device.id
assert calls[0].data["id"] == 0

View File

@@ -56,7 +56,6 @@ async def test_webostv_turn_on_trigger_device_id(
blocking=True,
)
await hass.async_block_till_done()
assert len(calls) == 1
assert calls[0].data["some"] == device.id
assert calls[0].data["id"] == 0
@@ -74,7 +73,6 @@ async def test_webostv_turn_on_trigger_device_id(
blocking=True,
)
await hass.async_block_till_done()
assert len(calls) == 0
@@ -113,7 +111,6 @@ async def test_webostv_turn_on_trigger_entity_id(
blocking=True,
)
await hass.async_block_till_done()
assert len(calls) == 1
assert calls[0].data["some"] == ENTITY_ID
assert calls[0].data["id"] == 0