Clean up Shelly unneccesary async_block_till_done calls (#118141)

This commit is contained in:
Shay Levy 2024-05-26 00:28:48 +03:00 committed by GitHub
parent d4a95b3735
commit ecd48cc447
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 0 additions and 8 deletions

View File

@ -492,7 +492,6 @@ async def test_block_set_mode_auth_error(
{ATTR_ENTITY_ID: ENTITY_ID, ATTR_HVAC_MODE: HVACMode.HEAT},
blocking=True,
)
await hass.async_block_till_done()
assert entry.state is ConfigEntryState.LOADED

View File

@ -227,7 +227,6 @@ async def test_block_set_value_auth_error(
{ATTR_ENTITY_ID: "number.test_name_valve_position", ATTR_VALUE: 30},
blocking=True,
)
await hass.async_block_till_done()
assert entry.state is ConfigEntryState.LOADED

View File

@ -618,7 +618,6 @@ async def test_rpc_sleeping_update_entity_service(
service_data={ATTR_ENTITY_ID: entity_id},
blocking=True,
)
await hass.async_block_till_done()
# Entity should be available after update_entity service call
state = hass.states.get(entity_id)
@ -667,7 +666,6 @@ async def test_block_sleeping_update_entity_service(
service_data={ATTR_ENTITY_ID: entity_id},
blocking=True,
)
await hass.async_block_till_done()
# Entity should be available after update_entity service call
state = hass.states.get(entity_id)

View File

@ -230,7 +230,6 @@ async def test_block_set_state_auth_error(
{ATTR_ENTITY_ID: "switch.test_name_channel_1"},
blocking=True,
)
await hass.async_block_till_done()
assert entry.state is ConfigEntryState.LOADED
@ -374,7 +373,6 @@ async def test_rpc_auth_error(
{ATTR_ENTITY_ID: "switch.test_switch_0"},
blocking=True,
)
await hass.async_block_till_done()
assert entry.state is ConfigEntryState.LOADED

View File

@ -207,7 +207,6 @@ async def test_block_update_auth_error(
{ATTR_ENTITY_ID: "update.test_name_firmware_update"},
blocking=True,
)
await hass.async_block_till_done()
assert entry.state is ConfigEntryState.LOADED
@ -669,7 +668,6 @@ async def test_rpc_update_auth_error(
blocking=True,
)
await hass.async_block_till_done()
assert entry.state is ConfigEntryState.LOADED
flows = hass.config_entries.flow.async_progress()