mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Clean up WebOS TV unneccesary async_block_till_done calls (#118142)
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user